Please don't list this on a work's page as a trope. Examples can go on the work's YMMV tab.
Tearjerker: Sonic Battle
Holy God, that ending. After spending the entire game learning, forming strong friendships, and growing more powerful, with the player essentially watching Emerl grow from babyhood to a mature young robot, you play as Sonic to kill him once he goes crazy. Damn.