Not really drunk as when it first shifts in course the moon and earth's gravity together pull J00E3 into a orbit around earth. It later gets ejected when it comes around back towards the earth which is when it is fastest in orbit as well as being pulled by the moon when it was behind hit giving it more speed and enough of it to break earths orbit and ejecting it back out into space.
Yea, you can see how Moon and Earth form like the Y arms of a slingshot and the combined gravity vector is essentially more of a direct line than the typical curve and thus it is ejected. Btw. I'm playing with this stuff daily in my current project. I really like trajectories.