I go to school full time I didn't pay towards that, but I paid $2230 towards a community college I attended at least 1/2 time, why do I not get education credit?

For 2024 I attended college full time as a student, my parents paid my tuition and expenses for that year. I also attended community college and I personally paid $2230, I was at least a half time student. I had paid the entirety of my tuition for that college, why am I not eligible for education credit?