Difference between stomach cramps

What’s the difference between stomach cramps related to your digestive system compared to period cramps?