Why is my returned overcontribution to my Roth IRA taxable?

In 2018, I mistakenly over contributed to my Roth IRA because my income level was too high.   So I had Fidelity return the excess contribution to my savings account.    Why would I have to pay tax on that?  The money came from my savings account and was returned to my savings account.