Why your stomach is not working while you r worry?

I just learned about this in psychology. It has to do with the fight or flight responce within your body. You body will slow down digestion and some other body functions to focus more on the task at hand. This happens at amusement parks, you wont be hungry, then BAM, your starving after you start to relax.