It appears that your Z went a little deeper and then corrected itself. If it had just lost, or gained, steps I would expect it to be uniform once it went wrong.

Loose pinion? Worn pinion? Rack...