I think Indians and Pakistanis quickly understand that outside their native countries they are probably the same and almost have similar culture/language/food.
They do in their native countries as well, what changes when they leave is they leave behind a tense political rivalry that gets used in service of explaining the shortcomings of the respective countries. Without the political climate as background noise both parties tend to get along
I was happy to move to the US in part because I was pretty tired if my home country.