Plenty of people pick up some kind of stomach trouble on Mounjaro. If you check the leaflet supplied with the pen, it lists the reactions and how often each one shows up. Constipation and diarrhoea both count as very common, so they hit more than one person in every ten.
Either one can follow from Mounjaro slowing your digestive transit and how fast your stomach empties. It's useful, you feel full for longer, but when the slowdown goes too far you get the nasty gut effects.
Some find an over the counter fix helps once it has already started. I'd rather head it off: enough fibre from food, psyllium husk capsules as an extra, magnesium citrate alongside that, lots of water, and meals every day.
I went through a brief run of gut trouble around week 6, and the timing isn't the same for everybody. Fybogel across a few days sorted the acute patch. These days, after more than 4 months on it, constipation hardly shows, and if it does I take Fybogel twice in a day for one day, sometimes a second.