(1) CBD is an effective antipsychotic, but the consumer market for weed has been selectively breeding it out in favor of pure and dense THC strains.
(2) The way THC works on anxiety is a biphasic curve where at lower doses it reduces and at higher it increases. And because the efforts have been at increasing potency of flower, you can have a significant dosing range between a bowl of one strain and another.
If you would like to stop having a bad time getting high, try to actually measure and control the dose to a lower amount than what triggers the anxiety, and try to get a stain that has CBD alongside the THC (or just a high CBD strain to mix in).
A 2:1 THC:CBD ratio is a really good one personally. (This was the ratio of the 8th century BCE temple cannabis and turned out to be a great ratio when I replicated.)