Also, most endowment funds are restricted by the donor. The whole point of making a donation to an endowment is to fund a specific thing in perpetuity. Legally, the university can't just take money that was given to them to fund one thing in perpetuity and use that money to fund a completely different thing as a one-time expense.