I suspect the qualifications are different depending on your citizenship.
What's in it for the company?
Bar is the same (of course, there will some bias from specific people, but those are one-offs). Even more - hiring H1Bs is harder than hiring a citizen and it's more costly to the company (immigration sucks). If they could, they wouldn't hire H1Bs.
Equation is different at sweatshops, where you don't hire specific people, that meet specific bars you have. They have no bars - they just need code/ops/qa monkeys. They apply for as many visas as you can, and get whoever they can get as a result. As long as they got enough people, they're happy.
H1B workers are often paid less that citizens. In the long run it is probably cheaper to hire H1B workers even after the legal costs.
At sweatshops. Not at FAANGs.