Question: how is rey a skywalker?
Answer: Rey, despite learning she's the granddaughter of Sheev Palpatine, chooses to call herself a Skywalker. It's her choice. ... But rather than handcuff herself to her Palpatine bloodline, she decided to take the name of the heroes who came before her. She is the actual savior of Star Wars, after all.