Bloating and bowel movements in 32 weeks of pregnancy

Hi Dr, I'm having soft stools and frequently passing gas in 32 weeks and 5 days of pregnancy. I'm facing a bit of gastric pain also similar to mild period cramps. Is this normal for my stage in pregnancy?