Foreign workers dominate the workforce. Why pay a Senior SWE full rates if you can pay someone overseas half as much? It is a problem at AWS, Apple... Any Saas company.
There's an (outdated now) misconception that one needs to pay a SWE $150k salary in the US, but the truth is I'd work for far less. I'm not doing anything else, why not?