What is the relationship between intestinal spasms and mental state like anxiety?

Stress hormones. The flight or fight reaction to stress includes emptying the gut. Also durctfallen in german means failure & diarrhea! (:.