Confidence changes with environment because context affects how safe and competent people feel.
Familiar settings reduce uncertainty, so people act more naturally. Supportive groups also lower fear of judgment. In contrast, new or high-pressure environments increase self-awareness and doubt, which can temporarily reduce confidence even in capable individuals.