Is this the same DOJ going after SpaceX for the opposite?
Opposite in the sense of the direction of the discrimination.
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.
You aren't allowed to exclude somebody who would otherwise be eligible because their work permit has an expiry date