The Pentagon has recruited lawful US residents into the military with the promise of a pathway to citizenship for their service. In recent weeks, the administration has begun discharging these recruits, often with no clear explanation and sometimes with claims that they are security risks or that they were recruited in error.