Proximity.
The friend could have been in an equivalent position and just as lonely in her situation.
But then you separate FIRST if you get into a love thing with the best friend. Even if the spouses are horrible.
It seems most who cheat, especially if they are cheating in the same town, get caught. Its just so horrible, its like pure meanness to cheat with her best friend . Orgasm can wait.