my theory is that Rey was cloned from Luke’s hand, hence why the moment she touches Lukes lightsaber she has the flashback back to cloudcity moments before Luke loses his hand
JJ in the cutting room: “Hey, guys, we better change the opening sequence in case Rian wants to make Rey a hand clone.”