Yes. Anxiety disorders and posttraumatic stress disorder (PTSD) can cause depression. Obsessive-compulsive disorder can also cause depression.