Retirement tax questions

My wife took out under 30k and subtracted 8k and they took out the 20% and still IRS asking for money!!! Now they are asking for us to pay 11k back to the IRS. This is stupid and another reason taxes suck.