It might not actually be the best way to show your furry friend affection. Here's what a veterinary behaviorist recommends.