I'm in the school that this should be a state rights issue and other than the protection of federal building and employees there does appear a legal basis for emplying the national guard. And heavens knows of the implications of using the Marines against US citizens, as has been hinted at.
However, if I have the story right, the protests are against ICE raids to deport people who are in the country illegally? Is that wrong? Even before Trump ICE raids were common. Protesters are brandishing Mexican flags to show solidarity. This isn't Mexico. Of course there are issues around due process.