Unlike burning coal, burning wood can be sustainable. That carbon was in the air a couple of years ago. Growing forests for firewood is probably not the most efficient way to use that land, but as long as you plant and grow new trees at the same rate you burn them, it is carbon neutral.
That doesn't mean it's always sustainable of course; there's a lot of destructive logging in the world, and that should stop.