If he can't naturally teleport himself to the moon, it's possible that he forced Azdaja to carry him there.