Friendship tension

Okay so i had a really good friend, Wren. And this other girl, Emma, is kinda good friends with her too, but Wren and i were closer.

And me and Wren started drifting a bit because her and Emma started to become good friends and I felt like left out with them. So i stopped hanging with them. So we go on a 3 week holiday and when i come back, Emma is being really rude and it's bad. But her and Wren are still friends, but Emma is still like being mean to me. and Wren does nothing, i don't know if she even knew what was going on, but Emma always talked about bad about me to Wren. And Wren did nothing.

And obviously now me and Wren are not friends but Wren says "i don't want this to affect our friendship" when it has. And idk now me and Wren had a bad fight and we haven't talked it out. but Emma is still mean to me and my new friends. And me and Wren are not on good terms and it's just awkward bc we both don't really understand what is happening. but i am mad at Wren bc she said that i don't have depression and that it's just for attention and she is mad at me for "pushing her away" when i only left her bc i was uncomfortable. PLEASE HELP !!