Musk has tried multiple times to alter the spending. Trump couldn't even do that. There is definitely illegal activity.
But no need to argue this. IANAL, and Musks', like, 8 lawsuits (I've lost count on how many people sued him this month alone) will get to the bottom of that.