American law restricts the use of federal military forces for domestic law enforcement purposes, effectively preventing the military from being used to enforce civilian laws. However, exceptions to this limitation exist, allowing for the military's domestic deployment in specific circumstances. Such as national emergencies, support to domestic law enforcement, and insurrection and rebellion.
These exceptions are in place to ensure that while the military may support domestic efforts in certain critical situations, its involvement in enforcing civil laws is still limited to preserve civilian control.