What one should do depends on one's goals. To maximize profits, and ignoring the costs involved in doing so, one should charge each customer what that individual customer is willing to pay. Approximating this is a big motivation most market segmentation schemes.
Of course, doing so naively can maximize short-term profits while negatively affecting goodwill, which can then hurt long term profits.
Also, even ignoring goodwill, pricing to maximize returns from the current market for a good or service can limit the ability to develop new markets for it.
There you have the American university system in a nutshell, though you might have to substitute "able" for "willing".
Especially given the rhetoric about how 'economics' drives things down to the marginal cost, it's not super surprising, as a general rule. People assume that competition won't allow prices to get too much higher than costs.
Some people here may find this ironic, but I always remember this rule because I'm (depending on the day) a Marxist.