Peristalsis is the wave-like motion of the walls of the alimentary canal that allow food to move along the lumen of the alimentary canal towards the posterior (anus). These waves are powered by the contraction and relaxation of the smooth muscles.
if you do not clean up after your pet they could possibly eat their own feces, sounds gross right but this is totally normal for animals if they are stressed