I think it started when spell checkers and word editors became widespread. When students are required to submit a typed essay they don't have to worry about grammEr, they just use the spell check.
We had to write everything by hand, and each grammar or puntctuation mistake lowered the grade by one. "5" (A) was the highest.