In the course of time people got used to the idea that it was a necessary function of government. And a service they expect by right.
Now we have a ruling class that fears a literate populace, but they don't dare say that openly. So they use less direct methods.
I agree teachers' unions are a bad idea, but they are not the cause of this. They are only following orders, if you get my drift.