One might also argue that US residents disagree with you so much that they arent applying to tech jobs in sufficient quanities. The pay and benefits are not worth it when compared to the instability, stress, "benefits", and chaos -- and instead we hire foreigners who are more desperate for the work, and thus willing to work for perks like "Unlimited PTO".
It isnt like there arent smart people in the US who can do these jobs, its more that the smart people go to jobs with real benefits and real perks -- cushy jobs on Wall St or senior management or government jobs where you dont have to do anything.