This great picture on changing share of foreign-born residents in the NYT today (showing countries with largest increase): You can see why anti-immigration sentiment is a big deal in the European countries shown and in the US. (This is a descriptive statement, I myself hate xenophobia.)
But what about the countries at the top of the graph? Let's exclude the special and controversial case of Israel from all the following statements.
Correct me if I'm wrong, but I have not heard of prominent anti-immigration movements in any of these countries.
Is that because these are non-democracies in which immigrants can be treated as second-class citizens with little or no rights?
Again, this is just descriptive speculation -- I would certainly NOT recommend that approach to the democracies. But it does show the complicated political economy you get when you mix xenophobia, democracy, equality before the law, and immigration.