Even most people with professional jobs would consider it too expensive to eat out for breakfast, lunch, and dinner everyday, but we put many college students in a position where that’s basically their only option. At my school, campus dining plans were mandatory for your first year, and I didn’t have access to a real kitchen.
At the same time, it’s difficult for schools to control dining hall costs, because (at least anecdotally) “dining hall food quality” is a surprisingly big factor when high schoolers choose a college.
This is one symptom of a broader phenomenon: college has become a bundled product of courses and a degree + a package of expensive consumption choices, and it’s difficult to get one without the other. Most people early in their careers don’t live in luxury apartments, belong to fancy gyms, or eat out a lot, but living that lifestyle is the default expectation now if you go to a residential college or university in the US.