a large meteor hitting the moon is a noun clause. It's the subject of the sentence.
hitting is the "head" of the clause. The hitting is what would cause the melting.
The clause itself has a subject (a large meteor), a verb (hitting), and a direct object (the moon).
It's a 'non-finite' clause -- a 'gerundive' clause.
CJ