LBTC posted this to me last summer when I was having troubles with "intestinal distress." Perhaps this is what your doc is referring to?

The illeo muscle (yes, I very likely spelled that wrong), otherwise known as the hip flexor, crosses over the front of the hip bones at the bottom end, and at the top end connects to the psoas muscle, which, at its other end, is attached to the back of the abdominal cavity.

In order for the muscle group to go from the back of the area to the front of the area, the muscles wind between the folds of the intestines, and are fascially attached to them. In a fully healthy individual, actively using the ilieopsoas is, I'm sure, normal and without any adverse effects (I'm actually wondering if it even contributes to better function of the intestines by stimulating them); but, if there is a difficulty, like inflammation or the like, with either the muscles or the organs, aggravating one is likely to aggravate the other.