The chief of the International Energy Agency explained that the conflict in the Middle East may come to an end.