Some people aren't really loyal to you. they are loyal to their need of you. once their need changes (like if they found someone else that would keep them from being lonely who I guess is better than you), so does their loyalty.
You can not have a healthy relationship with people who are wearing a mask……Be real, Be genuine, Be that unique person you are. All the people we really care about you, will love you for who you truly are.