The parent's point is that you don't normally tip on merchandise you buy. If you buy a beer for $10 and a tshirt for $30 from a bartender, a typical tip would be $2 not $8.
That said, it's sort of an arbitrary custom. It's not very much work to fill a glass of beer, find a t-shirt in some cabinet, or hand someone a cup of coffee.