Question: how are rey and palpatine's granddaughter?
Answer: And in The Rise of Skywalker we finally learn that Rey is actually the granddaughter of Palpatine. Her parents—one of which is the child of Palpatine—abandoned her on Jakku to keep her safe from her grandfather who was aware of her power.