The moon kick originated as a variation of the gainer flash trick. Eventually it gained its own name which came from the motion in which the person performing it kicks "towards the moon", or in an upward direction.