U.S. consumer prices climbed sharply again last month as the 10-week war with Iran pushed energy prices higher.