We understand the circumstances and the reason why this happens, but it is important that if there is a war, the price of everything that comes from another country should be increased immediately. And when the ceasefire ends, why is the price not immediately the same as before, but then the price is gradually brought back and that too is not complete. Inflation is always caused by the government itself, be it good or bad. When the government has so much money, it does not let the price increase from it, but here, as soon as the war starts, oil and food items are increased and the excuse is made that our ships be stopped during the ceasefire. If the government wants, this system should never be broken because the money they have in reserve, which they have stolen from the people and kept for themselves, if it is used properly, the price will not increase even if there is a ceasefire for 1 year.
The fact that prices don't immediately fall after a war or ceasefire ends doesn't necessarily mean the government is deliberately keeping them high.
Prices also depend on inventory levels, existing contracts, shipping cost and the supply chain. Besides that, it is worth noting that the goods reaching consumers are finished product, not raw material. The process of turning raw materials into finished products involves many different stages and costs. So the price of a finished product cannot change immediately just because the price of one raw material on the global market goes up or down.
So blaming the government entirely for inflation and rising prices is unfair and oversimplifies the issue.