Both immigration and Mexico itself were perceived as relatively small threats compared to more pressing concerns like cyberterrorism, Russia and China.
While the active duty members themselves are protected — because in order to enlist a service member has to show proof that they are in the country legally — their undocumented spouses are not.