To hire them would violate NASA’s own policies regarding workplace security. Many NASA workers (and contractors, which SpaceX is) are required to have security clearances as a condition of employment.
Military contracts also. The rules are per ITAR (International Traffic in Arms Regulations). There may be security clearance issues also, that’s another ballgame.