Houses / rooms / buildings can certainly be imbued with moods. It is not simply metaphorical, it can be a real sensation.
The house is not actually mournful, but the mood you sense entering the house, or even looking at it from the street, may be that.
It speaks to the circumstances, mournful or cheerful or anything else, that are associated with the house, with its occupants.
Student or Learner