What is the primary cause of nervous system diseases?

Very variable. In younger patients, may encounter trauma, and multiple sclerosis. Epilepsy affects 32 million, migraine at least that many, but in older age groups, may see Alzheimer's which affects about 5.5 million. So, varies by age, genetic vulnerabilty, and events.