Deductions & credits

Hello,

I have a similar sitaution to these although I am not older than 55yrs of age.  My wife and I got married in 2021 (july to be exact).  I had a HSA that I maxed out ($3600).  She had a family plan (2 children on her plan) that she didn't max out but contributed $3600 and her employer contributed $1187 (a match).  Turbo tax is saying we over contributed the $1187.  Therefore we have a 6% penalty (of only $72) but are being taxed on the $1187 wich is like $300+.  This doesn't seem right, especially the 6% penalty.  

Box 12w on W2 says $3600 for me and $4787 for her, but again she had a family plan with 2 dependents at the time.

Please help on this