Pregnancy related?

I have really bad gas at night , nothing through out the day but it seems like when im getting ready for bed around 9 it all wants to come out..and I've been getting this weird feeling down there when i hold my pee and random intense cramping for a few seconds then it completely goes away..