Retirement tax questions

Why are you entering it on both accounts?  A joint return is one return combined for the both of you.  Ignore the other spouse's account.  Then you only enter Pension contributions from the W2 nowhere else. It does not go under Deductions.  That is only for IRA contributions.