My Federal tax amount goes up when I input Roth contributions? If I delete the Roth the tax owed goes back down to the amount before inputting the Roth contribution?

I do not exceed the modified AGI to be able to contribute to a Roth.  This has happened the last 3 times using premier.