Best friend issues

Hi everyone I’m 14 and a freshman in high school. My best friend recently ditched me and I tried talking to her about it and she told me that I said something to upset her but I didn’t know what that was. She later texted me back telling something very confusing and I didn’t understand what it meant. I’m going to give her some space and not bug her. But does anyone have any advice for me?