I think I may have figured out that my AvPD behaviour is a result of perfectionistic thinking.
I have often been mercilessly judgmental of myself and others. I expect nothing less than perfection from everyone, and I think everyone else expects nothing less than perfection from me. I think this is one of the core causes of my problems.
My thinking tells me that if I am not perfect than others will reject me - so why bother? I should just stay alone and then I won't risk rejection. By expecting perfection I set myself up for failure and it prevents me from taking any risks.
By expecting others to be perfect, and knowing that can never happen, I stay away from others so I don't risk getting hurt, or annoyed. I look for any aspect of their character that can justify me rejecting them first, before they can reject me.
The antidote for me is to abandon my perfectionism, to accept myself and others unconditionally.
Thoughts?