I think you are mistaking people in-universe disliking refugees, as being voices of the writers...

Bad characters are allowed to do and think bad things.