A 32-year-old woman presents with new-onset weakness in her right leg, urinary urgency, and an electric shock-like sensation running down her spine when she flexes her neck. She was previously diagnosed with relapsing-remitting multiple sclerosis (RRMS). MRI reveals new demyelinating plaques in the spinal cord. Which of the following best describes the underlying pathophysiology of multiple sclerosis?