Inflation hit a nearly three-year high in April. Prices for the goods Americans buy most are still going up, while consumer sentiment keeps falling.

Higher inflation has persisted as rising prices pressure consumers.

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