Why does the dog shed tears?

Sometimes you look at your puppy sadly, and you will see it looking at you with tears, you cry, it is crying too! It seems to feel your sadness