It was the Biden Administration that rewrote the directive, just weeks before the election to allow the use of troops to work with civilian Law Enforcement, using lethal force if necessary, in domestic operations.
I think they did that so Joe could call in F-15s if there were riots in the event the Dems stole the election (or otherwise won).
Now, that same DOD that would have put troops on Main Street is talking mutiny if Trump used them in operations against the likes of MS-13 and the Venezuelans.
Tier 1 operators would make short work of the most violent of the foreign illegals, and while some of the SWAT types out there are very capable, and may even be former operators, the military are better equipped and trained to run such operations, Posse Comitatus aside (which is what the directive did, although now the voices of the left deny that).
Typically, the Dems want to bend, beak,or alter the rules when it comes to achieving their goals, but when the same rules are used against their pet (illegal) projects, they want to back out and change the rules back.