SpaceX works on (potentially) military techologies covered by ITAR protection.
You aren't allowed to exclude somebody who would otherwise be eligible because their work permit has an expiry date
It was the same with disabilities, leading to the creation of the ADA. Companies would argue that they shouldn't have to hire someone in a wheelchair because it would cost them money to build wheelchair ramps and other accessibility aids.