Sentence1: Adam was sitting at his desk when his dog Tuie came up to him. Sentence2: She put her head in his lap and whimpered. Sentence3: He reached down to pet her. Sentence4: She wagged her tail happily and started to lick his hand.
He kept petting her because it made her stop whimpering.