Insomnia may be the cause of your psychological problems.