Why does stress sometimes lead to stomach pain?

Why does stress sometimes lead to stomach pain?