The fact that there’s a specific law called the Impoundment Control Act where the specific actions Trump is trying were made illegal should give you a hint to which way the court cases are going to go..
https://en.m.wikipedia.org/wiki/Congressional_Budget_and_Imp...