Education

Up to $2,000 credit per return

https://www.irs.gov/publications/p970/ch03.html

does the IRS significantly penalize married students

Alas, that's the way Congress wrote the tax law,