It is the governor’s prerogative to refuse to deploy their guard.
It is the President’s prerogative to federalize their guard, at which point the governor is not longer in the chain of command.
https://www.justsecurity.org/54529/military-mexican-border-posse-comitatus-key-takeaways/