He had a female friend, Berta von Suttner, who was leading in the peace movement. She was probably one of those who convinced him to it.
When you read his biography, it seems like he could very well have been an Aspie. He had no formal chemistry education on university level, he spoke several languages but was very antisocial, he never married, etc etc.