How does stress impact the body, specifically in causing stomach pain?

How does stress impact the body, specifically in causing stomach pain?