When imported w2 it linked to my spouse instead of my name.after the drop down changed to my name,federal tax owed 7k. If filing jointly, shouldn’t total tax be same?

When I imported w2 my w2 was assigned to my spouse instead of my name. Once I changed the drop down to my name my federal tax owed increased 7k. Why would that be the case if we file jointly and we both work? Would the total tax owed be the same since we are one entity regardless of how the w2 are tagged in TurboTax?