He was probably hungry!
The customer replied that he had heard this dog visited other shops in the neighborhood as well, and people were saying it was trying to trade the leaf for some food.

Sadly, none of the shop owners ever gave it anything to eat since business wasn’t going well lately, and the dog always left hungry.