The infection typically travels to the brain through the nose and occurs when people go swimming in freshwater lakes and rivers