V391 Pegasi the ejection of the hydrogen envelope of a red giant star at or just before the onset of helium fusion. The ejection left only a tiny amount of hydrogen on the surface - less than 1/1000 of the total stellar mass. The future for the star is to eventually cool down to make a low mass white dwarf. Most stars retain more of their hydrogen after the first red giant phase, and eventually become asymptotic giant branch stars. The reason that some stars, like V391 Pegasi, lose so much mass is not well known. In 2007, a gas giant planet
Giant star This causes the outer layers to expand even further and generates a strong convective zone that brings heavy elements to the surface in a process called the first dredge-up. This strong convection also increases the transport of energy to the surface, the luminosity increases dramatically, and the star moves onto the red-giant branch where it will stably burn hydrogen in a shell for a substantial fraction of its entire life (roughly 10% for a Sun-like star). The core continues to gain mass, contract, and increase in temperature, whereas there is some mass loss in the outer layers. If the star's