My sister was diagnosed with Obsessive-compulsive disorder always needing to perform rituals. Are you familiar with OCD?
I do not have a lot of knowledge about it.  I frequently read that more and more children are being diagnosed with it.
My sister started exhibiting some of the behaviors as a child always needing to wash her hands or turn a light off 3 times. She says that she is unable to control theses thoughts until she does the ritual.
What an affliction.  Do doctor's know what causes it?
a degree that the person's daily life is negatively affected. This often takes up more than an hour a day. Most adults realize that the behaviors do not make sense. The condition is associated with tics, anxiety disorder, and an increased risk of suicide.
The cause is unknown. There appear to be some genetic components with both identical twins more often affected than both non-identical twins. Risk factors include a history of child abuse or other stress-inducing event. Some cases have been documented to occur
a rewarding stimulus, whereas in OCD a compulsion is a facet of the disorder. The most common compulsions for people suffering from OCD are washing, and checking.
While not all compulsive behaviors are addictions, some such as compulsive sexual behavior have been identified as behavioral addictions.
Occurrence.
About 50 million people in the world today appear to suffer from some type of obsessive-compulsive disorder. Sufferers are often more secretive than other people with psychological problems, so the more serious psychological disorders are diagnosed more often.