For some visa classes, the law says you should hire an American citizen if they can do the job - not if they rank first at whiteboards or fizz-buzz.
> If tomorrow you were to tell (let say) Google they now need to hire only US citizens, would they lower their hiring bar
Does it really matter? To a point, obviously, but a lot of people are good enough for the role without being the world's best. The bar for getting into Google has dropped since its early days, and Google keeps breaking profit records quarter after quarter.
This entire "hire the best or nothing" mindset has led to a dysfunctional hiring process that's a pain to both employers and employees, and is prima facie unachievable.