Wood actually has some properties that make it desirable in a fire: the charring creates a natural barrier and it doesn't melt meaning it holds structural integrity. This makes it very desirable for building construction, but for cars it means it can act as a fire barrier potentially, and save lives.