Star blasts planet with X-rays