Traditional IRA contribution for wife

TT is recommending traditional IRA contribution to save on taxes.  However, the calculator shows we get the tax benefit only if the contribution is in my wife's name.  I have an earned income and she doesn't.  Appreciate your help understanding why does it matter when we are filing jointly?