At some point you really have to tell yourself "this is not an experience I want to keep having" and stop entertaining things that don't benefit you in any way.
I used to think communication was a key until i realized comprehension is even more important. You can communicate all you want with someone but if they don’t understand you or refuse to understand, communication is useless.
Normalize not forcing your importance in someone's life. Let people do what they want so you can see what they'd rather do. If someone doesn't see the value in having you by their side, don’t try to convince them.