I wonder how it works psychologically. Even in Avengers, the "good people" turning into dust clearly affected the audience much more than "the bad people" being killed in various ways during the movie.
Media that highlights this dynamic is interesting, though it implies some fourth-wall breaking. Funny Games did it (and I hated it, but it was interesting.) Sometimes video games do it too; Metal Gear Solid criticizes the player for enjoying all the killing.
> Metal Gear Solid criticizes the player for enjoying all the killing.