There are a ton of factors. One of them is the amount of natural compost on the forest floor emitting CO2 vs how much CO2 is being absorbed by growing plants.
Canada's enormous northern coniferous forest is a net CO2 emitter, in part due to its slow growth rate