* Where you work, does it feel safe in general to acknowledge mistakes? Is there a culture of humility, and the team supporting each other? Are the most skilled/experienced/respected the first to point out when they made a mistake? How do managers/leads react when learning of a mistake? Do you feel a general sentiment like mistakes are human, and that everyone i supporting each other and wants everyone to succeed? (This might not be just you, but something the company can improve.)
* Do you have a feeling about how your skills/performance relate to the needs/expectations of the team? Do you feel like you're appreciated enough? Do you feel the Impostor Syndrome? How does your current experience level fit in your team or company?
* You said "unintentionally snarky", but do you ever feel that someone is being mean, overly critical, or disrespecting? What about that being your initial reaction, and then later you decide it was unintentional?
* Do you feel like the perception of others when you make a mistake threatens your future?
* Do your thoughts seem to be mostly about meeting your own internal expectations of yourself, not so much what others think? Were you raised with high expectations put on you?
* Have you worked with a therapist/counselor on this? I'd think it'll take them awhile to get enough context about your work situation, but that's normal, and they have a lot of relevant training and experience that we don't. Your health insurance probably covers this.
* Have you talked about it with a trusted colleague where you work, maybe a trusted manager? They probably won't be as skilled as a therapist/counselor at all facets of this, but they have direct information about some of the context.