When I change status from married filing jointly to filing separately, the refund numbers become nonsense

Married filing jointly: federal refund of $4,520, state refund of $496. Married filing separately: federal owed $576, state refund of $28,000 (more than we paid...). What is the problem with the software?