A socioeconomic divide shapes the country’s politics—and its aggressive foreign Policy.