HOUSTON (Reuters) - Oil prices tumbled more than 4.5% on Wednesday to a seven-month low, extending recent heavy losses following a surprise build in U.S. crude stockpiles and fears that demand will shrink due to Washington’s escalating trade war with Beijing.

FILE PHOTO: An oil pump is seen at sunset outside Scheibenhard, near Strasbourg, France, October 6, 2017. REUTERS/Christian Hartmann/File Photo

Brent crude futures LCOc1 settled down $2.71, or 4.6%, at $56.23 a barrel, the lowest close since early January. Prices have lost 24.5% since their 2019 peak in April.

U.S. West Texas Intermediate (WTI) crude futures CLc1 finished $2.54, or 4.7%, lower at $51.09.

Oil prices fell early in the session on worries about the trade war, then extended losses after government data showed a build of 2.4 million barrels in U.S. crude stockpiles last week, instead of the 2.8 million-barrel draw analysts had expected.

U.S. crude oil inventories had declined for seven consecutive weeks prior to last week’s build but were still about 2% above the five-year average for this time of year, the U.S. Energy Information Administration (EIA) said.

U.S. gasoline inventories rose 4.4 million barrels, and distillates rose 1.5 million, with both fuels in the Gulf Coast region hitting their highest on record for this time of year.

“The stats were a major disappointment to the market with crude and product builds,” said Andy Lipow, president of Lipow Oil Associates in Houston.

“With refiners increasing their utilization, product supplies are more than adequate as we head into the home stretch of the driving season,” Lipow said.

Brent has plunged nearly 14% since last week as global equity markets went into a tailspin after U.S. President Donald Trump said he would slap a 10% tariff on a further $300 billion in Chinese imports from Sept. 1.

“The market continues to trade lower on concerns about demand growth and the idea that economic growth can be impacted by the trade war,” said Gene McGillian, vice president of market research at Tradition Energy in Stamford Connecticut.

“The market isn’t concerned about anything other than how demand is going to play out through the rest of the year,” he said.

Graphic: Brent crude - tmsnrt.rs/2M55YzY

This week, the EIA reduced its forecast U.S. demand for crude and liquid fuels. The agency also cut its forecast for global crude and liquids consumption by 0.1% for both 2019 and 2020.

Meanwhile, U.S. crude production was set to rise 1.28 million bpd to 12.27 million bpd this year.

“People saw those numbers and it put a negative vibe in the market,” said Robert Yawger, director of energy futures at Mizuho in New York.

U.S. crude could fall to around the low-$40 a barrel range unless bearish sentiment changes, but U.S. oil production is still surging and the stock market is signaling rising fears of an economic downturn, said Josh Graves, senior market strategist at RJO Futures in Chicago.

“We could keep following the trend lower,” Graves said. “Crude oil inventories were disappointing and the stock market is in worrisome territory.”

Trump on Tuesday dismissed fears that the trade row with China could be drawn out further. Still, U.S. stock indexes tumbled more.

Demand for safe-haven assets such as government debt underscored lingering anxiety over recession risks.

Tensions in the Middle East remained high after Iran seized a number of tankers in recent weeks in the Strait of Hormuz, a major chokepoint for oil shipments.

Saudi Energy Minister Khalid al-Falih and U.S. Energy Secretary Rick Perry on Tuesday expressed mutual concern over threats targeting freedom of maritime traffic in the Gulf.