You cannot use your federal refund to pay your state taxes. The IRS and State Governments have the ability to offset a refund to pay for certain past due debts. You generally will receive a letter stating what the offset was for. This is likely what happened.
The IRS provides a toll-free number, (800) 304-3107, to call for information about tax offsets.