The eight-month conflict involving the United States and Iran triggered attacks on energy facilities across the Gulf region.