What is the relationship between intestinal spasms and anxiety state?

Anxiety. Precipitates a flood of adrenaline in your system in preparation for fight or flight. Adrenaline causes all types of muscle to contract, including intestinal muscles.