Get your taxes done using TurboTax

why would the tax liability calculate differently depending on who's name i put in for the W-2?  It's my husbands W-2, but i accidently put it under my name and the tax liability decreased by $5000.00, i then realized what i did and changed it to his name and it changed the tax due again. why if we are married filing jointly would this happen?