Dogs can get really sad or even depressed. I've read somewhere that collies are a breed really prone to depression. Here, a sad collie:
But seriously, I remember my dog in her final days when she was really really sick and she probably already knew her days were counted ... I will always remember those saddest eyes of hers.