Students find it much more appealing to get good grades than to actually learn.
Because there is a direct impact on your chances for a better life. Having better grades give you access to better schools (and in the US, scholarships as well).
The emphasis of our school system is results.