Have you ever stood by a ledge and suddenly thought of the image of yourself falling off? Have you ever thought about touching the electric stove, regardless of what a terrible idea you knew it was? Have you ever been sitting in a silent library and suddenly had the urge to shout?
These are called intrusive thoughts. They happen to almost everyone.
Now obviously, doing any of these things isn’t very normal, but thinking about them can be. Often, these thoughts pop into our heads specifically because we don’t want to do them. The reason for this is that trying not to have certain thoughts often makes them stick around. Have you ever had a friend say “Don’t think of an elephant” before? You can’t help it being the first thing you think of.
The reason for this is that our minds want to check to see if we are succeeding at not thinking of an elephant, thus we think of one and fail. That’s basically what it comes down to.
We know so heavily the wrongs that we consciously avoid doing them. That can cause them to spur in our mind when we least expect it. So if you ever get an impulse of something unusual to do, it might be best to take a minute and consider it.