The mass added to the star is believed to be donated by a companion star, either from the companion's stellar wind or the overflow of its Roche lobe as it evolves.
The extra mass in a star is thought to be supplied by its companion star, either via its stellar wind or the excess material spilling over its Roche lobe during its evolution.