Human tribalism at its finest. We really only associate a few hundred people as fully human in our social group at one time.
Take of care of people in your group. People from other groups are less than human and should all be exterminated. It's a highly selected for trait from human evolutionary history.
..."tribalism" is a hard-to-escape fact of human neurology simply because many human brains are not adapted to working with large populations