Answer:
Most cases of agoraphobia develop as a complication of panic disorder. ... They begin to worry so much about having another panic attack that they feel the symptoms of a panic attack returning when they're in a similar situation or environment. This causes the person to avoid that particular situation or environment.
Step-by-step explanation:
The anxiety is caused by fear that there's no easy way to escape or get help if the anxiety intensifies. Most people who have agoraphobia develop it after having one or more panic attacks, causing them to worry about having another attack and avoid the places where it may happen again.