in TLK in the final battle on Cybertron, their was Grass or Moss and mountains on it. how did that stuff get their?
No, it was just a joke. In a serious answer, maybe the Quintessons put plant life on Earth to begin with.