I know a lot of Americans think that most H-1B are cheap labor or incompetent engineers. There is some truth to it but hear the other side out.
The way H-1B is implemented, it does not distinguish a person with PhDin Computer Science from Stanford from someone who did bachelors in Computer Science from Univ of Timbuktoo. This is the only visa for a top student can get to continue to work in the United States.
Over many years, this caused a lot of grief with body shops abusing these visas. The new administration came in and appointed a bunch of racists to head USCIS, who started denying H-1B indiscriminately. Guess who are the guys getting kicked out now?
Yes, the same Stanford graduates (or other top university graduates) that America taught for many years.
The process also discounts non-linearity of life. A student produced by top American universities is likely a good engineer. If they've worked in top Silicon valley companies for many years, they've gained practical knowledge that many other countries would kill to have. These 28-45 year old people are typically startup founders, top engineers, execs and folks willing to take chances. The US unceremoniously chooses to kick them out brashly? Guess which jobs are going with them?
Also, the real mess of H-1B is the green card process of USA. There are so so so many people on periodic H-1B extensions for 10 years, 15 years etc. These guys have been in the US for the best periods of their lives and should be naturalized. But because of the patchwork laws of US immigration, don't have green cards. With the over zealous deportation machine (aka USCIS) in operation now, these folks are being kicked out with their spouses and kids.
The US under current administration has the world completely backward. If they ever genuinely had the intent to fix the immigration process (which I suspect they don't), they've chosen the worst possible way.