Basically when you think the main character is going to end up with that one girl, but his “sidekick” or side character ends up with the girl.
Pull A Naruto: That moment we thought Naruto would end up with Sakura but Sakura ended up marrying Sasuke.