People say they don't want to be sad, but their online habits disagree. Content that channels sorrow for views has become a ubiquitous part of online culture. Why does it work?