I had some sleeping problems for a few years that have been recently corrected. Every day after school I would come home and pass out in my bed and go into full rem sleep. Some of the dreams that I had felt like I was watching a tv show. A few times, right before I would start to wake up, I would have thoughts that were both violent and horrifying with nothing in my mind having a disgust reaction. I would wake up in disbelief in what I just thought.
I came to the conclusion that the part of my brain that processes morality and right and wrong was still asleep when I was conscious. The reason why the two were out of balance was probably because of my sleeping issues.