do dogs know when another dog is dying?

Disney girl
I have 3 dogs. There's is Nala, Chewbacca, and Pippin. Nala is around 15 or 14 years old, Chewbacca is about 8 years old and Pippin is only a year old and unfortunately Nala has a tumor and is dying 😢 I had her since I was 3 years old..in 16 now and it's really hard for me to focus on anything and I keep feeling like crying. She's going to be put down soon. Her and Chewbacca were really close through all these years but he seems to be distant from her now and Pippin used to play with her all the time when we first got him but he also is distant from her now. Could they feel it happening? I know it's really depressing and I'm just a little curious. 😞