To me it sounded like Miyato A was already dating her Jogo when he died. She knew about his part time work, his house key, and he knew her mole.
My guess is she assumed this Jogo was like hers and already dating Miyato B. So she ran off before seeing the confession. Then the friend clued her...