The brain and nervous system is a mixture of excitatory and inhibitory subsystems. One hypothesis is for certain mental behaviors or dsyfunctions they can be out of balance.
What causes the imbalance- genetic, geometery, chemistry, development- is the 64 billion dollar question.