The dog doesn’t run away or bite the child, but vice versa, he admits his fault. The author wants to show us how the dog needs a friend and vivid metaphors “the dog offered more prayers”, “the dog apologized and expressed regret” are additional indicators of that fact. The reader can just imagine how strong the feeling of love to the human beings is if despite all wipes the dog is still pleading the boy to make friends with him.