The solar system's strangest objects are unlocking its history