If you're not smack bang in the middle of the galactic plane, you're going to be accelerated towards it by gravity, so you'll tend to bob up and down, like a pendulum.
That is; the plane itself has a local gravitational attraction which is orthogonal to the galaxy core gravitational attraction. If a mass is above or below the plane, the "local" gravity will pull towards the plane. since nothing stops it at the mid line of the plane it passes through to the opposite side; rinse and repeat.
This bouncing above and below center line of the disk is more or less independent of our solar system completing galactic orbits.
And a recent paper on its oscillation - https://www.sci.news/astronomy/oscillating-radcliffe-wave-12...