Retirement tax questions

Confusion is because you appear to be doing the calculation for line 15 incorrectly.  It's the balance of how much tax you owe (which should be zero for most people), not how much you carry forward.