Cramping but then just gas??

I occasion get period like cramps but then all that happens is that I have some gas. Anyone else experience this before or know what's causing this? 
I've struggled with gas in first trimester also but never had cramps with it