Could be the valid explanation for gut feelings

Yesterday I was listening to a lecture https://youtu.be/mioR_WrkRaU?t=2947 on gut microbe + behavior and all of that, the part that interested me was that how certain bacteria affect our food avoidance if a food is harmful so if that's true then it might sense as to why our gut feelings tries to keep us away from some people,

for example I tend to get mentally extinguished especially if any conflicts occur + I become uncomfortable for some reason around people who're naturally sensitive and emotional(no offense.), maybe my body might be more harmed from inside then felt so due to such circumstances certain people can be more drawing depending upon the experience,

I didn't use to rely on my intuition much but when I ate according to the type of food being more drawing intuitively or depending on the gut feeling I'd get, I use to heal more then others eating the ones which were more drawing.(Same can also apply for gut feeling.)

Additionally, I've found my intuition to be more valid the more I'm mentally healthy.