Deductions & credits

I added a normal distribution and my Fed tax increased and remained higher for the completion of the federal tax final review.  Why is a HSA normal distribution taxed?