What causes epilepsy?

There are numerous causes. Examples of causes include developmental aberrations, genetic abnormalities, central nervous system infections, traumatic brain injury, tumors, Alzheimer's Disease, and stroke. Essentially anything that can irritate the neurons of the brain can cause epilepsy.