Spiking energy prices have pushed inflation to a three-year high of 3.8%. Investors expect price pressures related to the Iran war to ease—one reason the stock market keeps chugging along. Retirees who collect Social Security should get a bigger raise next year.