China's wholesale inflation accelerated to its highest level in nearly four years this May, according to official data. The producer price index (PPI) jumped sharply, propelled by a surge in global commodity costs as the Middle East conflict disrupted energy and raw material flows.

The spike reflects two powerful forces: rising energy prices from the Iran war and surging demand for commodities tied to the artificial intelligence boom. Consumer inflation, however, came in below forecasts, highlighting the uneven nature of China's economic recovery.

The data showed a stark divergence between producer and consumer prices. While wholesale costs soared, the consumer price index (CPI) missed expectations, suggesting weak domestic demand continues to restrain consumer inflation despite higher input costs.

This PPI surge could squeeze profit margins for Chinese manufacturers who are unable to pass on higher input costs to consumers. The divergence may complicate policy decisions for Beijing as it balances supporting growth with managing inflation risks.

Some analysts caution that the PPI spike may be temporary if Middle East tensions ease. However, structural factors like AI-driven demand could keep commodity prices elevated for longer.