Scientists have long feared that as Earth warms, tropical peatlands—which store up to 10 percent of the planet’s soil carbon—could dry out, decay and release vast pools of carbon dioxide and methane into the atmosphere, rapidly accelerating climate change.