The International Energy Agency chief said the war could lead to the world's worst energy crisis in decades.