There are a dozen or more anxiety
disorders, and they all have different causes.
Learning as well as biological factors certainly play important roles. Most anxiety disorders are accompanied by particular types of thoughts that exacerbate the problem. Therapy helps one identify and revise dysfunctional thoughts and behavior to decrease anxiety symptoms. Early treatment is always better.