Early Distribution from Retirement Account

I received an early distribution from a 457 retirement account.  I used the money for medical expenses, so Turbo Tax said I didn't owe any taxes on the distribution.  However, as soon as I entered the info from my 1099-R form, the amount of federal tax I owed increased by $2700.  Why is this?