 And how this works is the brain has a direct effect on our stomach and intestines. Just thinking about food can release stomach juices before we even start eating. The connection goes both ways. A troubled intestine can send signals to the brain just as a troubled brain can send signals to the gut. And this means that the stomach or intestinal distress can be caused by anxiety, stress, or depression, and the contrast.