Filing taxes for 2021

I did tax caster just to get an idea of tax refund this year. All is well, until I enter in our 3rd stimulus check amount. It takes the whole entire stimulus off my refund. I'm confused. I didn't think k we needed to pay that back.