why is a pulse on a string considered to be transverse
Transverse wave Transverse waves are waves that are oscillating perpendicularly (at a right angle) to the direction of propagation. If you anchor one end of a ribbon or string and hold the other end in your hand, you can create transverse waves by moving your hand up and down. Notice though, that you can also launch waves by moving your hand side-to-side. This is an important point. There are two independent directions in which wave motion can occur. In this case, these motions are the Y and Z directions mentioned above, while the wave propagates away in the X direction. The other type of waves is the longitudinal wave, which oscillates in the direction of its propagation.
Peristalsis In much of a digestive tract such as the human gastrointestinal tract, smooth muscle tissue contracts in sequence to produce a peristaltic wave, which propels a ball of food (called a bolus while in the esophagus and upper gastrointestinal tract and chyme in the stomach) along the tract. Peristaltic movement comprises relaxation of circular smooth muscles, then their contraction behind the chewed material to keep it from moving backward, then longitudinal contraction to push it forward.