It's not just offshoring now though. It's offshoring plus hundreds of thousands of H-1b holders being brought onshore. Entire departments at major tech companies in US offices are populated by foreign labor. As far as I'm aware that's unprecedented, and it's very different from the offshoring cycle.
I wouldn't say it's unprecedented, since I first heard about a call center in Texas that was over 90% foreign labor several years ago. But it's certainly gotten worse.
I suspect that some companies/policymakers may be trying to flood the market, so to speak, in case importing them gets harder in the future or a bunch get sent home.