Recently, social media pictured a German Shepherd canine officer placing his paw on the casket of his human policeman partner at the partner's funeral. I have read dogs can smell and interpret life and death instinctively. Wanting to know where you have been and what you were doing is supposedly why they sniff you all over when you return home. By sniffing they find out what went on with you while you were out.
Also, it is apparent dogs can be tuned into your emotions. So it would seem when you are sad and grieve, your dog picks up on it. Dogs, too, surely miss the family member who has died and grieve in their own way. I would say this is especially true in the death of a child who they have always protected.
In my own case, my dog, Amber, grieved for the loss of my son, Chris. Amber always slept with me on the bottom left hand corner of the bed where she could see the neighborhood through three windows. After Chris died, she moved to the bottom right hand corner of the bed where she could see the top of the stairs and Chris' bedroom door. She seemed to be waiting for him to re-appear. How much you and I pine for our children to return. And so Amber seemed to be pining.
One night, a good friend of Chris' visited me. After he was gone, Amber laid down on the edge of the family room carpet where she could see the front door. I believe she felt if Chris' friend appeared, he would not be far behind. She apparently remembered this friend being with Chris.
Amber made a big, happy yawn when Chris or Chris and I together would give her attention. After Chris died, she never did this again. It was if her life was forever changed as was mine. I believe if you have a dog you have a creature who understands loss. You can grieve together and get through the tremendous change together. Hold onto and love your dog. I know from experience, it can help you both.
As a final comment, I would say watch your dog carefully as there are those people who believe dogs can see spirits of the deceased. Like children, they supposedly can see spirits because they have no human adult inhibitions. I remember one time, Amber was standing on Chris' bed and I was sitting on the floor. There was a rocking chair beside the bed. Amber's gaze was fixed on the rocker and she was wagging her tail. I was convinced she could see the spirit of Chris sitting in the chair. I could not, but there were other similar incidents.
I took comfort in knowing, through Amber, Chris was visiting and had not forgotten us.