It's not that black and white
There may be few opportunities or seasonal work and accommodation is cheap. Money was pumped into depressed towns, then cheap labour was wanted migrants could offer cheaper labour, the competition was there and wages stayed low and naturally wherever you have a number of immigrants they will form their own communities when they appear to be thriving and others are not and lack of opportunities to advance it often causes tensions
It happens in London too but there is more opportunities for everyone