The US withdrawal from climate talks and soaring energy prices have weakened global climate efforts, strengthening oil and gas producers’ resistance to phasing out fossil fuels.