Yes it could very well be the dxm thats responsible. 1 of the receptors it blocks normally receives glutamate; a amino acid that is believed to be one of the keys to learning and forming memories. So if you block that receptor with dxm, you're prolly gonna have a hard time learning and remembering things.