The conflict is unfolding against sweeping changes in the energy sector. A growing number of countries and companies are pledging to phase out fossil fuels and adopt cleaner alternatives as they combat climate change, even as global fossil fuel use continues to climb.