Cutting gluten out of my diet made my period cramps go away

It's really so crazy, I used to get cramps so bad that I couldn't move without my legs giving out and passing out and now they don't exist anymore! At most I just feel mildly uncomfortable! I never thought this would happen to me, it feels like I really get to live the rest of my life now without worrying about skipping out on work days or friend hangouts because I'm bedridden.