Insomnia can often be caused by stress.