The entire H1B situation is bad for everyone in tech. Because it's significantly harder for H1B holders to change jobs, they have a harder negotiation position and thus reducer upward pressure for comp.
Even worse they can’t disagree as easily with bad ideas from leadership. A healthy tech organization needs to make decisions based on negotiations between what is wished to be and what is; making a significant portion of the people who know the ground truth of things be reluctant to speak up when that ground truth is inconvenient can make for some pretty bad decisions.