Astronomers discover doomed planet shedding a Mount Everest's worth of material every orbit, leaving behind a comet-like tail