Why did my federal refund direct deposit but my state refund get mailed out?

I still have not received the state refund although the state revenue department said they mailed the check even though I elected to have it direct deposit to my checking account