Some scientists suggest the moon had been formed out of part of the Earth, which was dislodged perhaps by a meteor.
A) the moon had been formed out of part of the Earth, which was dislodged perhaps
B) that the moon was formed from part of the Earth that had perhaps been dislodged
C) that part of the Earth formed the moon, which was dislodged perhaps
D) the moon was formed out of part of the Earth, having perhaps been dislodged
E) that the moon had been formed from part of the Earth, which perhaps had been dislodged
According to the explanation, the correct answer is B. How can this be true if that (and which) refer to the noun immediately preceding it? Does "B" say that the Earth had been dislodged?
Thanks for all your help