Maybe read the article first before criticizing it? :) The article specifically addresses that and explains how this is more complicated than just oxygen deprivation.
"It’s not obvious why, though. The obvious culprit for reduced cognitive function is the thin high-altitude air depriving your brain of oxygen."