For Rio, it is less about jealousy and more about envy, her goal is having it better than Mahoro, so her leaving the "present" contributes to this goal by making it worse for Mahoro. I don't think she even likes Rei all that much, she's just deluding herself into thinking that Rei is perfect man...