Attachment is context-sensitive
People can feel secure in one relationship and activated in another. A style is not a fixed personality type.
Name the protective strategy
Anxiety seeks certainty; avoidance seeks distance. Both strategies usually attempt to reduce emotional risk.
Practice direct repair
Ask for reassurance, boundaries or time explicitly instead of testing, chasing or disappearing.