She's Got Her Mother's Hair: Unveiling the Origin of Black Hole Magnetic Fields through Stellar to Collapsar Simulations