So he was just randomly bringing up her past, something he'd have already discussed with Osha while training her, for shits and giggles? The entire premise of the episode was the Sith corrupting Osha and the Jedi redeeming Mae. It's there in the title.
Just a coincidence that once the tracker sniffs her out, confronts her and escapes, that that is when Sol stuns her.
Light hearted side plot for no real reason.