Long before 3I/ATLAS slipped through the inner solar system, its water had already recorded the kind of place it came from.