A transverse wave travels along the Z-axis. The particles of the medium must move

In case of transverse wave, the motion of particle and the direction of propagation is perpendicular. So, the particle must move in x-y plane as propagation is in z axis.

1