he had no money, so he bought the ice cream he wanted to eat
the grocer gave him an ice-cream out of sympathy
usually, a penniless person can't buy anything
all the ice cream in this shop was free that day