It can be brought on by pregnancy hormones and according to some health experts worsened by sugar, gluten, bad oils because they increase inflammation.
https://paleoleap.com/whats-wrong-industrial-oils/
https://www.marksdailyapple.com/healthy-oils/
I used to have problems with inflammation and especially back aches. Avoiding these most of the time definitely helped.