When you created the amendment to enter the information from the second W2 it is most likely that your Taxable Income increased as well. If you were already near the line between tax brackets by entering the second W2 you may have jumped into a higher tax bracket thus creating a tax liability.
I have included an FAQ below that suggests how to handle this situation:
https://ttlc.intuit.com/replies/4642096