Insomnia can be caused by many reasons, it can't be certain because every individual has a different coping mechanism. However, it's often associated with mental health, stress and anxiety. If a person has the understanding to deal with every situation calmly, insomnia will go away easily.