I always think this about garlic, chilli, onion, etc. Feeling all tough, naturally designed to punish whatever’s just eaten it. Then humans be like, “OOOOO that’s yum. Add a bit more.”
We like plants that offer a challenge, apparently. We probably evolved to like these chemicals because we refused to be beaten and just ended up liking them.