It is very common to have both unfortunately. Severe anxiety can make irrational fears and thoughts run through your head late at night, which causes terrible insomnia. Lack of sleep affects your mental health which makes the depression worse. I dealt with it for on and off for about 2 years...