I think that some plants release gases (ethelyne?) that can have a ripening effect on others. IIRC, you can put apples or tomatoes near one another and hasten their ripening. Maybe I have that wrong, but I think the concept has some basis in fact.
On a kitchen counter, we usually keep a couple heads of garlic. Normally, I can’t smell them. But when we have ripening bananas nearby, it seems that the kitchen becomes redolent of garlic. Could there be some subtle interaction between these vegetables that provokes the release of the more noticeable odors of garlic? Is this a known phenomenon? Just local to our house?
I can’t answer that, but I know if my husband happens to pack a banana and take a bag with chips as part of his lunch, the chips smell and taste like banana chips. Sometimes he will bring them home and the smell and flavor is overwhelmingly banana.
I keep bananas next to garlic all the time and never noticed any interaction.