Why does my return get smaller when I add that I did four months of full-time university?

My refund was a decent amount, but when I added my tuition costs and the fact that I spent four months at full-time university, it reduce to approximately one-hundred dollars. Why?