Because you were just about to turn the corner out of the sadness, and you ran into your ex. Like Adele, you want to take the high road and wish them well, even if, for you, "it isn't over."
Lyric that gets you right in the feels: "Sometimes it lasts in love, but sometimes it hurts instead."