U.S. consumer prices rose in June from a year earlier at the fastest pace in more than six years, lifted by more expensive gas, car insurance and higher rent.

The Labor Department said Thursday that the consumer price index ticked up just 0.1% in June—but inflation jumped 2.9% from a year earlier, the largest annual gain since February 2012. Core prices, which exclude the volatile food and energy categories, rose 0.2% in June and 2.3% from a year earlier.

Solid economic growth and supply bottlenecks have pushed inflation past the Federal Reserve’s 2% target, after price gains had languished below that level for six years. That is a key reason that Fed officials expect to raise short-term rates twice more this year.

Price gains may intensify if President Donald Trump makes good on his threat Tuesday to slap tariffs on $200 billion of Chinese goods, including furniture, hats and handbags. If implemented, those duties, combined with tariffs put in place last week, would mean about half of China’s imports would be subject to extra duties, likely boosting costs for consumers.

Andrew Hunter, an economist at Capital Economics, said overall inflation may decline in the coming months as the recent gas price spikes level off. Prices at the pump averaged $2.88 a gallon nationwide Thursday, down 3 cents from mid-June. (All prices are in U.S. dollars.)

“Nonetheless, with the labour market exceptionally tight and activity expanding strongly, we think that core inflation has further to rise,” Hunter said in a research note. “The prospect of further tariffs on Chinese imports will only add to that upward pressure.”

Household appliance prices rose in June from a year earlier at the fastest pace in five years, Hunter noted, lifted by a 13% increase in washing machine costs. Trump imposed tariffs on washing machines in January.

Read: BoC raises key rate, says existing tariffs to have modest impact

The Fed’s preferred inflation gauge has increased at a slower pace, up 2.3% in the past year. But most economists expect the Fed will raise rates a total of four times this year as it attempts to keep inflation in check without cutting off growth.

Derek Holt, vice-president and head of capital markets economics at Scotiabank, described the inflation numbers as “tamer” than the headline figures suggest. The seasonally adjusted month-over-month annualized trend in core CPI was 2% in June, down from 2.1% in May, he wrote in a research note.

“The three-month moving average of this way of looking at core CPI changes is below the 2.3% year-ago core CPI inflation rate. That indicates stalled pressure of late,” Holt said.

Katherine Judge, an economist at CIBC Capital Markets, also said “there’s less news than meets the eye” in the 2.9% year-over-year rate.

“The trend-like 0.2% advance in core prices should leave the Fed’s preferred gauge of inflation, core PCE prices, at 2.0%,” she wrote in a research note. “That shouldn’t sway the Fed from its gradual tightening path, including a quarter-point hike at their September meeting.”

Gas, shipping prices up

With consumers and businesses spending more, trucking firms have struggled to hire enough workers to keep goods moving. That has boosted shipping prices, lifting costs for businesses that may soon be passed on to consumers.

In June, gas prices increased 0.5% and have soared 24.3% in the past 12 months. That has sent prices at the pump toward nearly $3 a gallon, sucking more money from consumers’ wallets and offsetting roughly a third of the benefit from last year’s tax cuts.

Fuel oil has surged nearly 31% in the past year, pressuring airlines. Delta cut its full-year profit outlook Thursday, citing a $2-billion surge in fuel prices. Airlines have tried to offset rising fuel costs in a number of ways, including additional charges for passengers, like bag fees.

Rents rose 0.3% in June, and overall housing costs have increased 3.4% in the past year. Auto insurance prices also increased 0.3% last month and have jumped 7.6% from a year earlier.

New and used cars and medical care have also become more expensive. Clothes and household furniture fell in price last month.

Also read:

What to consider as currency volatility increases