Ron and Harry were constantly calming her down, when she was on the verge of freaking out, creating possible scenarios in which they all died. Either from his betrayal or their lack of finding the Horcruxes.