Charitable contributions

I put in my charitable contribution amount and my refund for federal snd state went down? Why?