Look at Form 8889, Line 15. If you do not enter the qualified medical expenses paid on Line 15, the program assumes that the distribution was not used for qualified medical expenses, and therefore treats it as taxable on Form 1040, Line 21.