I feel like sometimes the actual act of explaining the joke can actually be funnier than the joke itself. Occasionally when I can explain a super dirty joke with a deadpan and matter-of-fact tone people will laugh more than they would have if they had actually gotten the joke in the first place.
I'll agree that my attempt at humor was bested by someone else's explanation being much more comical