Why are those places shitholes?
But Trump did not just call those countries shitholes. He asked why the US would take people from shitholes and said the US should try to pick Norwegians instead. That is directed at the inhabitants, at the people of those countries, because he is literally saying that people from those places are somehow less deserving. And that is inherently racist.
