Hobbit on Quest (he/him)
Luke got some training, Rey didn't. Kinda like how the USA used truck components in the Sherman tank, if you could drive a Truck you could drive a Sherman almost. He even mentions the T-16 in the movie so you don't need a massive amount of explanation or logic. The OT heroes also got messed up, that is the difference Luke had his hand chopped off, Leia was wounded and captured, Han got chucked in carbonite and blinded. She never used a lightsaber before, picked one up and defeated Kylo Ren a trained dark jedi. And yet in the prequels we see Jedi trained from very young age, Vader was old and later he murders the younglings.
Han had a hard life but was presented as a pilot from the get go and Leia presumably had royal self defence training and llater oin in the EU she also needed training and was weaker than say Luke, Mara and her children as she devoted less time to it due to being a full time politician. Her daughter Jaina was trained right from the get go and later in life trained with Boba Fett for dirty fighting.
That is the difference.
What training? Luke shows up at the rebel base, they put him in a top-of-the-line star fighter. And he has no significant mishaps - a big contrast with Rey's sloppy flying.
Rey, whose scrappiness with a staff we've already seen (by your Luke logic, we know she's had some training or can assume some skill), manages to hold off and get a couple of licks in on a badly wounded dark jedi, not a fresh one.
And I don't really know why you're bringing up Han and Leia's problems from the original trilogy - it's not like we aren't seeing similar things happen to Finn and Poe.