The only way to get a decent raise, if any, in the STEM market is to switch jobs. That causes whole other issue of knowledge drain at companies that takes years to recover, if at all since nobody stays long enough.
I believe computer skills are common enough that importation of software people is not needed.
There is Catch-22.
Fact: STEM degrees are hard.
Fact: Unlike some other professional positions, STEM jobs are not protected from competition from overseas. So, the STEM positions are filled with foreigners, who depress the wages.
Fact: US natives do not like to subject themselves to very hard studies, with uncertain job prospect.
Conclusion: So more foreigners are imported.
It is a vicious cycle, with no way out, given the current political situation.
There has never been a shortage. It is just that tech outfits running on a shoestring and corrupt to their cores anyway, price out native born with lowball salary offerings.
Off the top of my head I can think of about 6 or 7 people that went to engineering school, couldn’t cut it and changed majors. Three of them became architects.
Not enough DIE applicants with STEM degrees to meet politicly correct quotas.
Companies want cheap labor and will lie to get them.