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