What is reason deforestation does not cause global warming?

Deforestation does contribute to global warming, so it actually is one reason for global warming. Taking down immense forests does not allow the planet to control its Carbon Dioxide levels which in turn leaves more green house gases in the atmosphere. This of course traps heat which then warms the planet, but that is only a piece of the puzzle that is climate change.