Fears about the war in Iran, government deficits, the economy and corporate borrowing stirred global markets.