Feelings of resentment toward those who were not native citizens rose during World War I. This was known as
nationalism.
nativism.
nation-building.
naturalism.
I looked it up and even though I am not entirely sure, I think that it is nativism.
Nativism is a reaction against immigrants. Earlier inhabitants of an area or a country sometimes develop a dislike or fear of immigrants. Nativism and racism are similar. In both cases, a strong dislike or hatred arises on the part of one group against another group.