In the UK, at the university level, grade inflation is often related to the high annual cost of tuition.
Students are increasingly treating university as a paid service with universities treating students as customers.
Failing too many students is a failure in the service provided - bringing the university into some sort of liability.
Further, students are working hard for the £50,000+ worth of student debt they accumulate. Which wasn't the case generations prior.