Did stress from anxiety in my childhood cause my depression?

It's possible. There's no way to answer in your particular case, but it's clearly possible for childhood stress (and abuse/neglect) to cause depression in adulthood. The best way to address this question is to have an in-person mental health evaluation with a professional, and be sure to mention this specific concern. Good luck.