A dog may hump a person out of nervousness or enthusiasm if they are overstimulated. If your dog reacts to stress or excitement by humming inappropriately, this could be an indication of dog anxiety.