Retirement tax questions

Originally, the money was transferred from my bank to the Roth instead of from the bank to my HSA, as I had wanted to make an HSA contribution. I called the provider as soon as I saw the money had hit the Roth and had the money returned back to my bank account after completing the excess contribution form.