She had two choices, run and look like a fool when he inevitably caught her anyway or she could just confess it was her and she was just curious if he had returned or not. Perfectly normal thing for a friend to do right?