A new theory is close to solving one of the greatest mysteries of how life began on Earth