This observation is mostly accurate - the less forgiving part is true, but grades can still be a bit of a crapshoot.
My own grades are highly erratic - I dominated in some of the hardest math classes where I went to undergrad (a public school), often being one of the top performers and easily the most knowledgeable, but did awful in other classes. I never cared that much about easy classes, and only applied myself on hard classes because they were mentally stimulating/challenged me. I also did not care about grades - I viewed my purpose at college to learn & develop, not be a 4.0 student.
When I went to grad school (a prestigious public school), I applied myself in all of my classes and did solid overall - all of my classes challenged me pretty hard, and so it motivated me to work hard.