I selected direct deposit for my fed and state tax refunds. State alsready direct deposited but IRS said they mailed me a check?

2017 taxes: filed electronically requested direct deposit for fed and state. State was Deposited into account IRS says they mailed me a check? Acct number is correct and in my name, so why the check?