Hi,
Your Gcode ran just fine here so it is not that which is causing the problem.
I know it sounds basic but perhaps check the mechanicals of your machine for tightness or binding of an axis or even slippage of a coupling, looseness of a grub screw, etc.
Tweakie.