In the end, Hogwarts was the only location on the Isles where objects, like statues, can gain sentience over centuries of saturation. Not nearly enough to walk around and live a life. But they had their own emotions. Alumir was one of the oldest statues in the castle. That was why he had a wider range of emotions, sometimes.