This only applies if deportation is a threat to you. I am a H-1B employee and I have absolutely no problems going back to my home country in an instant.
I don't know if that is the reason but my salary is definitely not discounted compared to my American co-workers.