Decrease in Inhibitory Function Cause of Near-Death Mystical Bright Light?

I just watched this video from AsapSCIENCE about what it feels like when you are dying, and one of the things they noted that happens is "seeing light." Of course, this is also something common in mystical experiences. They explained a possible cause of this phenomenon in NDEs.