As SF mentioned, this behavior is wrong. However, it's a sad reality that that in India, you have castes to create hierarchies and in other countries, race is used in a similar way. Anyway, my observation is that this kind of more extreme undesirable behavior is what people use to justify and cement existing prejudices. Some of those prejudices may exist due to more bad behavior from some but also due to xenophobia.