Simple. I got very bored and depressed, so I went and plugged myself in to its external computer feed. I talked to the computer at great length and explained my view of the Universe to it," said Marvin. "And what happened?" pressed Ford. "It committed suicide," said Marvin and stalked off back to the Heart of Gold.
The Hitchhiker's Guide to the Galaxy (ed. Del Rey, 2007) - ISBN: 9780307417138