We know that stars can engulf planets because stars that swell up to become red giants overwhelm any close-in planets. The Sun will do this to Venus, Mercury, and possibly Earth in a few billion years. But research shows that it can happen when low-mass stars first enter the main sequence. Lithium gives it away.