Direct deposit but got check in mail

I got a check in the mail. I paid taxes due and e-filed. The amount was taken from my account, so why the check in the mail?