Given for migraine headaches. The most common reason, I think, people experience psychosis is from drug and alcohol intoxication or withdrawal. But people with depression can become so depressed that they lose touch of reality and like enter a separate and different world. We may think we are driving ourselves crazy with our obsessions and compulsions but they are an aspect of anxiety and are not an aspect of schizophrenia or psychosis or depression. Often - people do get these mixed up.
Obsessive thoughts are more internal and come from inside our head.
That sounds more like anxiety - although people with schizophrenia can have anxiety and depression. But when someone withdraws from fear that is usually anxiety based. When people with schizophrenia withdraw it is due to a lack of interest in others, lack of motivation, loss of self - loss of who they once were and how they once related to the world. Most people with schizophrenia are not psychotic most of the time - but these others symptoms are often lingering. I detach and am outside myself sometimes.