I made a simulation of irregular mass loss in an AGB star and THIS happened
Later btw(9000 years later) Neptune got yeeted and 50 billion years later the same with Uranus