Maybe it was overripe. Kinda like cantaloupe, it can be a overpowering musky flavor (to put it gently) when it's overripe.
I've had durian fruit. It was stinky like oniony gymsocks, but the ripe part tasted like bannana custard. The overipe part tasted like funky onion pudding.
Many tropical fruits either reach us underripe, overripe, or are not the "good" variety found in the tropics because the variety we find here is the one that ships the best, not necessarily the one that tastes the best
Don't let it keep you from trying one when you visit a warmer area!
On the other hand, I've tried passionfruit several times and just can't get myself to like it. I think it was pretty awful.
Oh and i tried kidneys once. They smelled like liver, and I like liver, but they tasted like liver that someone urinated on. Eww!