Got a check when I selected direct deposit

When I submitted my taxes this year I selected direct deposit for the refund but I was sent a paper check instead.  Is there a reason I would get a check instead of the refund being directly deposited?  All other years the refunds have been put directly into my bank account.  Will this happen with my stimulus check too?