Sometimes they go hand in hand, like the importation of vast numbers of low skilled workers as eventual citizens, displacing native low skilled workers. and "dissolving the people and electing another" (https://en.wikipedia.org/wiki/Die_L%C3%B6sung forgive my paraphrasing of the German I don't know). See all the crowing about how whites will soon become a minority in the US.
Sometimes it's purely economic, like US citizens and permanent residents being forced to train their H-1B indentured servant replacements.
(Then we could e.g. get to the more complicated things like why manufacturing has become so expensive here, lots of that is ideology and the like, but the above serves to illustrate my point.)