In some fanfictions, Regina might leave Emma for Robin because of a deeper emotional connection she feels she has with Robin. Maybe she sees in Robin something that she feels is lacking in her relationship with Emma, like a more traditional form of love or a different kind of understanding.
Most of the time, it doesn't. However, certain specific settings or applications could potentially send a notification when you exit someone's private story, but that's not the norm.