After a bout of infection or an autoimmune disease flare-up, some people experience prolonged mood swings, emotional dysregulation, and changes in behavior.