He could see her waver but in the last minute regaining her mental strength. He could tell that they shared the genius’ curse, the curse of being way too smart and having the difficulties of keeping themselves grounded and not vanishing into their own intellect. The Doctor had a hard time managing that equilibrium, often seeming rather mad or strange to those that meet him.
Softly he reached out and patted her shoulder in a comforting gesture to the fascinating young genius, his expression full of warmth “How true! Danger does have a habit of forming the tightest of bonds. Even we geniuses can’t solve every problem…but it doesn’t keep us from trying” He chuckled lightly as he ate another jellybaby before offering the bag again “another jellybaby?”