The Iran war is pushing countries to prioritize domestic energy in order to protect themselves from volatile oil and natural gas markets.