It's much easier to write when you're sad. But you can end up isolated and depressed because you almost need to put yourself in that situation to have that angst to write from.
I wrote The Green Eye of the Little Yellow God in five hours but I had it...