The text is a metaphor suggesting that people often criticize or attack those who are successful or have something of value. It does not exploit different meanings of a word or similar-sounding words for humorous effect.
People only throw stones at trees with fruit on them .