Cognitive-behavioural theory posits that anxiety develops when a person has negative or irrational thoughts about their ability to cope with a situation, and they perceive it as threatening. This leads to physiological arousal, which can then reinforce the belief that the situation is dangerous. For example, a student may become anxious about an upcoming exam if they have negative thoughts about their ability to perform well, and they perceive the exam as high stakes.