Factors contributing to the spread of nationalistic feelings