Here's why:
* Hink pinks are a type of word puzzle where the answer is a two-word phrase that rhymes.
* "Happy" and "jolly" rhyme.
* "Dog" and "pup" rhyme.
Therefore, "jolly pup" fits the hink pink format and relates to the original phrase "happy dog."