Why am I anxious in romantic relationships but very dismissive and avoidant in friendships and family relationships?

Why am I anxious in romantic relationships but very dismissive and avoidant in friendships and family relationships?
Post Opinion