Producing global unresponsiveness requires pretty much one of two things: Either something damaging or depressing the reticular activating system, which is in the brainstem, or something causing severe depression of function of the entire cortex. Absent trauma, which clearly wasn't involved in this case, you're looking at derangements of blood flow, glucose, oxygen, or carbon dioxide, or toxins like carbon monoxide, drugs or medications, alcohol, or solvents. You could also be looking at anything severely depressing cardiac output. It's actually relatively hard to make someone unconscious.
If she were diving dry, I'd be thinking about the carotid sinus reflex, depressing heart rate and essentially making her faint. But I'm assuming from where you were diving that she was diving wet, and did not have anything tight around her neck? I'd also be quite suspicious of breathing pattern -- as a brand new diver, if she is either breathing very rapidly or much too slowly, she could experience enough CO2 buildup to be narcotic. Although most people would experience extreme anxiety before passing out, some divers are apparently quite tolerant of elevated CO2 levels.
If this had occurred once, I'd worry about contaminated gas, but as it happened twice (and assuming no one else was similarly affected) I'd think that unlikely.
Hypoglycemia is a possibility, but in general, hypoglycemia severe enough to cause unresponsiveness is only found in people who are taking anti-diabetic medications, and people with a certain type of very rare tumor. And there is no reason why a hypoglycemic episode would be more likely to occur underwater.
On the other hand, especially since she is a new diver, I would assume there's still a fair amount of adrenaline involved in jumping into the water. This could increase her likelihood of experiencing a tachydysrhythmia (excessively rapid heart rate) if she has the underlying propensity to it. Very rapid heart rates reduce the blood flow to the brain, and can cause unresponsiveness.
I agree with the other posters -- She needs a thorough medical evaluation, and I would insist on, at the very least, an electrocardiogram and a basic set of electrolytes and glucose. Assuming all of that is cleared, she should have a session with a good dive instructor who can have a careful look at her pattern of breathing.