What is causing this discomfort?

What is happening? The muscles in your stomach may go into spasm or cramp up, and this can cause pain.