The study found that after a few minutes of petting and talking to your dog, oxytocin spiked in both humans and dogs.