Tips to loosen up hips

So my hips are loose in the sense that all the stretches to “open them up” are super easy to perform, no tightness anywhere, really. But when I go for a walk, they hurt because they’re tight. Idk if that makes sense but is there anyway to loosen up those ligaments in that area to help with labor/delivery?