Near-death brain products are psychedelic because those are the properties consciousness requires at that time. Psychedelic compounds released near death mediate consciousness exiting the body. This is their function and this is what they do.
Strassman argues that the psychedelic character of near-death brain chemistry is not incidental but teleologically necessary — DMT is the mechanism by which consciousness departs the body.
, DMT: The Spirit Molecule, 2001thesis