A self-confident person on the surface is not necessarily a self-confident person at heart. You have been hurt in "abandonment" or "betrayal" and have a shadow in your heart. Although you can't see it when the surface is calm, there are signs of fear inside.
Anyway, just don't be afraid
You have made a small comparison between your present friend and your former friend, so there is nothing in your heart. Just relax.