Are you confused on what type of attachment style you have?
Anxious attachment style tend to pursue closeness, while avoidant attachment styles tend to pursue autonomy.
What is important to know is that both of these are learned mechanisms for connection - and, they aren't permanent! Attachment can change over time, especially when you are close with an individual who has a secure attachment style.