The exact cause of MS is unknown, but it is believed to be a combination of genetic and environmental factors. Certain genes may increase susceptibility, and factors like infections, vitamin D deficiency, and smoking have been implicated as potential triggers. The interplay between these factors may lead to an autoimmune response where the body attacks its own CNS.