The text seems to be a humorous observation suggesting that dogs are more interested in food (bread) than in the person themselves. It does not rely on the different meanings of a single word or similar sounding words for a humorous effect.
Dogs wags their tails , not as much to you as to your bread .