The person is showing affection towards the dog.