@8mnifarious From how she read the situation, Yamada would spend too much time trying to save both girls and get to the fog. I guess she felt like a third wheel in the whole situation and decided to solve the situation by committing suicide.
That's kinda messed up.