When the British series that became “All In The Family” was adapted for American audiences, the Irish son-in-law became the Polish son-in-law. There was plenty of discrimination against the influx of Irish in north-eastern USA cities also, and they were characterized as drunken, stupid, and prone to drunken brawls. (A characteristic adopted almost as a point of pride as the Notre Dame U mascot). The fact that they were Catholic versus “real” Americans being protestant did not help. Same thing happened with the Italian influx around 1900.
But there’s that standard xenophobia and then there’s the treatment of blacks. To justify enslaving a race, Amricas (north and south) adopted the social view that Africans were less than human, and by taking them from heathen lands to Christianity was doing them a service. The kindest attitude was that they were simple and childlike, but generally the attitude was that they were wild and dangerous almost-animals, segregation and repression were necessary to ensure peace, order and good government.
The USA in particular has spend decades trying to rectify this attitude, with mixed results; so part of the North American attitude includes a feeling of guilt and a desire to amend this prejudice (with mixed results). Also, western society has seen the horrors of racial prejudice and what a dark hole it can lead to with the results of the Holocaust.
Other areas of the world have their own racial prejudices, but are not as touched by the guilt instilled by the Holocaust or the American civil rights movement, because this is not a prominent part of their culture. Muslim countries say horrible things about Jews. Hindus and Moslems fight in India. China has similar issues; but they don’t feel the collective guilt seen in America regarding black people, for example.
Europe, also, did not import large numbers of uneducated Africans to be a lower class. As a result, they did not develop a need to separate out people by colour. While most did not necessarily believe in the total equality of man, the best and brightest of Africa and Asia were welcome in European universities in a way blacks were not welcome at American Ivy league schools in the late 1800’s and first half of the 1900’s. Much of the ruling class of newly independent Africa got their education in British universities.
Gandhi for example, came from South Africa to be educated in Oxford as a lawyer, only to return to South Africa and find out shockingly that unlike Britain, South Africa with a huge non-white population used colour barriers to keep it’s white ruling class in power. He returned to India instead.
the current British racism, IIRC, is a result of the influx in the last half-century of large numbers of commonwealth people from Africa and the Caribbean. Similarly, France appear to have problems related to the number of Africans from former colonies who migrated there in the last half century. before that, separating race was not an obsession like in the USA.