Mountain Dew and Fresca banned in EU and Japan because they contain an ingredient that can lead to memory loss

Quinine is prohibited? Why?

(It is also an anti-malarial, though malaria isn’t a big problem in Japan currently.)