Here's why:
* Personification gives human qualities to inanimate objects or abstract concepts. In this case, the fire is described as "cheerful," which is a human emotion.
The sentence isn't literally saying the fire is happy, but it's using that description to evoke the warmth, comfort, and positive feelings associated with a fire.