The barber dishes out haircuts with average utility of X, where the average price for a X utils of haircutting is Y. I personally receive more than X utils from this guy’s haircuts. As a courtesy to compensate the additional value that I personally receive from him, which would not be fungible to a randomly chosen barber of equal skill based on anecdata, I provide a tip.