Inflation has worsened since the US and Israel attacked Iran, sending energy prices spiralling.