I owed a large amount to Federal taxes but got a large state refund?

I owed over $20K in federal but had a $8K state refund. What is configured incorrectly?