Not just captured; some of the isotopes were formed in situ by bombardment of the protoplanetary disk by ~GeV range protons formed in the supernova shock by the Fermi mechanism (basically, bounce particles back and forth between moving magnetic mirrors and their energy gradually but exponentially increases.)