In this theory, when an out-group enters a country (in this case, migrants), the in-group (the hosting country’s citizens) tends to perceive them as a threat to their resources, because they will compete for them.