From Ohio History Central
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. With racism, however, one race dislikes another race. With nativism, people of the same race may dislike each other.