Sounds like a heat stroke, which can be life threatening. Medics should have been summoned when she collapsed.
Or she could have collapsed out of sheer exhaustion. Happened to me onces but after crossing the finish line.