There are lots of physiological signs that dogs are capable of proto-empathy, that dogs and humans engage in some form of emotional co-regulation at a physiological level, e.g.: https://pmc.ncbi.nlm.nih.gov/articles/PMC6554395/