From Japanese encephalitis to autoimmune encephalitis, here's a brief look at some of the reasons why the brain gets inflamed