PLEASE READ THIS COMMENT!!!! I think this is inaccurate. Authors develop emotional attachments to their characters just like the readers. In a way, the author has to deal with more sadness from the death of a character than a reader does. An author envisions a life for their character, and it's painful to give them up. Authors HATE killing their characters. It's much harder for an author to kill a character in their novel than people like to imagine.
Does digital publishing mean the death of the author? We used to know what it took to be a writer – you had to publish a book. But electronic publishing is piling pressure on myths of the author's life. by Richard Lea theguardian.com
Edwidge Danticat Wrestles With Death, in Life and in Art