Some of the peculiar aspects of our solar system—an enveloping cloud of comets, dwarf planets in weird orbits and, if it truly exists, a possible Planet Nine far from the sun—have been linked to the close approach of another star in our system’s infancy flung things helter-skelter.