They are describing a psychotic episode.
Psychotic episodes are typically marked by delusions and hallucinations caused by things like sleep deprivation and stress leading to excess catecholaminergic activity, which causes the brain to temporarily misinterpret the senses and construct delusional logic around the interpretations in an attempt to form a cohesive internal narrative of the experience.