So, you're prefer to lay off H1B first than US citizens?
Lay off H1B jobs that require Ph.D in OS kernel and memory model and not the US citizen on administrative positions? That makes sense?
Lay off H1B jobs that require specialty in firmware/software interface and not the US citizen in marketing? That makes sense?
Lay off award winning art designers on H1B instead of printer maintaining US citizen? That makes sense?
Foreigners don't get hired to take jobs that require only ordinary skill, that's required by current US law. Employer who can't provide justification for H1B position cannot file for it. There aren't enough Americans willing to go through science/engineering schools and get master or Ph.D degree. Your higher institutions are flooded with Chinese and Indian graduate students who are willing to do more for less. These people form the bulk of H1B in the US.
When bad time hits, the companies lay off less important and more replaceable jobs first, while maintaining their core business. That's why the companies lay off citizens before H1B, because the law and the labor supply put H1B in the core business. And those H1B hires aren't cheap either. They can go anywhere in the world and still get high payment, but they choose to stay in the US because the US companies offer them better deal. The US companies want to hire more American with degree, know-how and extraordinary talent, but that kind of people are in short supply world wide. The US is getting the upper hand in global talent trade, while China and India are losing talents in large number. And, yet, there are still people blaming company greed, which is their nature, for laying off Americans instead of H1B. The fact is that, if you the citizen has the same level of knowledge, skill and degree, chances are Chingchong the H1B is going to lose his job before you, because laying off an H1B has lower repercussion than laying off a US citizen.