The battle in universities over how to split a limited pie of money among departments has been going on for as long as there have been universities. And, each department jealously guards its budget and the number of professors in the department. Among other things, those are signs of the department's prestige, both in the university itself, and across universities. That's nothing new.
But, that desire runs into trouble when student interests in various majors don't remain constant. If there are 50% fewer majors in department X, should its budget or the number of X professorships remain constant? What about the budgets of the departments with increasing enrollments?
This is a common current problem at traditional liberal-arts universities. At the University of North Carolina, for example, the number of Computer Science majors has increased 10x in the last decade, but the number of CS professors has not kept up, leading to caps on enrollment. Undergraduate business at UNC has a similar problem. Meanwhile, enrollment in traditional "liberal arts" degrees has fallen dramatically. What do you do if you're the dean of, say, the History Department?
Part of the driving force behind that was a mess of grads coming out of college 7-15 years ago with massive student loan debts and an inability to pay them. So, students entering college started focusing on majors that they believed were high-paying. (Sometimes ignoring profitable majors, such as technical writing, in liberal arts departments.)