Does it really make any difference? If yes, then by what mechanism?
I pass gas frequently and have hard stools. I've read that walking helps with both these problems.
For example, on the Mayo Clinic site, one of the recommendations is
Get moving. It may help to take a short walk after eating.
That's all of it; there's no explanation why. I've seen similar advice on other sites as well.
Is there any truth to this? And how does exercise affect constipation?