as an H-1B myself, you don't need to hold on to passports to buy that sort of "loyalty". moving here from anywhere in asia is a huge sunk cost, and the natural impulse is to hope against hope that you don't have to bite the bullet and go back home, essentially eating that cost and starting over.
plus (at least from an indian perspective) there was a time when the indian job market for programmers was so bad that people would put up with all sorts of abusive conditions, simply because they knew that if they went back home it would be to a long and depressing job search that would likely end up with a low-paying position. (i believe that has gotten better in recent years; i'm not sure what the situation in china is)
plus (at least from an indian perspective) there was a time when the indian job market for programmers was so bad that people would put up with all sorts of abusive conditions, simply because they knew that if they went back home it would be to a long and depressing job search that would likely end up with a low-paying position. (i believe that has gotten better in recent years; i'm not sure what the situation in china is)