Roth IRA

When I typed in Roth IRA contribution, I see the Federal Tax Due box increases. Why is Roth IRA contribution taxed and how?