The educational system isn’t setting the prices. The publishers are separate private enterprises which are mostly profit-driven.
In the last 20 years, “open access” journals have been created where the author (author’s grant money, mostly from the government) pays the charges instead of the readers. That has led to a whole slew of other problems including predatory and phony journals springing up.
Melange