Girl gets nervous and runs when alone?

Girl I met has confidence when she's around her friends but as soon as they leave she gets nervous and runs away. For example I did her a favor she asked one day. As soon as her friend left she ran away talking mid sentence to me and she seemed instantly nervous. I did kinda ask her for a hookup when I first met her because I have issues I need to fix. Whats up with her?
Updates
+1 y
Forgot to mention she asked me to hangout while she was running away
Girl gets nervous and runs when alone?
Post Opinion