Your problem is caused by hypotension or sleep paralysis caused by you take melatonin at night before .
A person may have the exact same physiological response to a stimulus, yet experience an entirely different emotion.
Factors such as the individual's existing mental state, cues in the environment, and the reactions of other people can all play a role in the resulting emotional response. For example, if you experience a racing heart and sweating palms during an important exam, you will probably identify the emotion as anxiety. If you experience the same physical responses on a date, you might interpret those responses as love, affection, or arousal. If you experience the same physical responses you are walking in the woods, and you see a grizzly bear. You will interpret your physical reactions and conclude that you are frightened .Another example, if someone sneaks up on you and shouts, your heart rate increases. Your heart rate increase （palpitations）is what causes you to feel fear(or nightmare).
In the same way, the cause of sleep paralysis is very simple.Sleep paralysis is caused by a terrible the reduced blood supply to the brain（hypotension）when you sleep because your neck bends for a long time,common symptoms include terrible dizziness, palpitations(Faster or slower heartbeat), sweating,visual disturbances (including blurring, color changes, white-out, graying-out, enhanced brightness, darkening or blackening and tunnel vision) that can't see, hearing disturbances (including crackles and tinnitus) that can't hear, weakness, fatigue, nausea and headache. Less common symptoms include syncope, dyspnea, chest pain, and neck and shoulder pain. When symptoms occur they can vary greatly in expression from one individual to another.
Hypotension, anemia, improper sleeping position or poor blood flow in the neck caused by too high pillow are several common causes of the reduced blood supply to the brain during sleep at night. In particular, anyone with too high pillow during sleep is bound to experience recurring sleep paralysis all night. This terrible reduced blood supply to the brain is more likely to occur during waking up during the day than during sleep at night. For example, almost everyone suddenly stands up when their blood pressure is low in summer, and has experienced the terrible symptoms of the reduced blood supply to the brain caused by orthostatic hypotension.
Accordingly, the terrible dizziness during the reduced blood supply to the brain will lead to the illusion of seeing a terrible demon, the palpitation(Faster heartbeat) will lead to the illusion of being attacked by a terrible demon, and tinnitus will lead to the illusion of hearing a certain sound. Because people's instinctive reaction is that your dare not move your body when your can't see the surrounding environment clearly after waking up, therefore, the visual obstacle that your eyes can't see will lead to the illusion of being unable to move your body or can't open your eyes.
The leading cause of a terrible the reduced blood supply to the brain when you are awake during the day was that you stand up too fast. The leading cause of a terrible the reduced blood supply to the brain(sleep paralysis) when you sleep at night was that the blood flow is blocked due to the flexion of the neck. Of course, people with hypotension and anemia are more likely to have such a terrible the symptoms of the reduced blood supply to the brain (a terrible the sleep paralysis )than normal people.
In addition to the fact that the pillow is too high, which will lead to neck flexion and poor blood flow, sleep on your back is more likely to lead to neck flexion and poor blood flow than sleep on your side. Therefore, sleep on your back is more likely to lead to sleep paralysis than sleep on your side.
,The James-Lange Theory of Emotion
By Kendra Cherry Updated on November 19, 2020
Medically reviewed by David Susman, PhD
,Postural Orthostatic Tachycardia Syndrome (POTS)
By Danny Bonvissuto
Medically Reviewed by Brunilda Nazario, MD on August 10, 2020
Hi Jenni. I know it’s been a good while since you posted this but may I ask if anything ever got resolved? I’m actually going through something similar. My husband swears that he believes I’m masturbating in my sleep but I’m positive I’m not. He says I shake the bed and make weird moaning sounds but there’s no signs or evidence of me doing anything even if it was involuntarily. He swears I do though. Idk if there may be something wrong with me because I don’t recall anything like that. My dreams are never sexual.
It is possible your husband is right. Suggest you seek marital counseling. Might also discuss with your doc to ensure no untreated med issues. You can fix this.