"When She Loved Me" is a song written by American musician Randy Newman and recorded by Canadian singer Sarah McLachlan for Pixar's animated film Toy Story 2. From Wikipedia
The singer parodied her iconic Toy Story 2 ballad with macabre lyrics for an Itchy & Scratchy montage, exploring themes of nostalgia and growing up.