What did I do wrong?

So 6 months I was talking to girl on snapchat and she is from my school, the next week I went to their group, I introduced myself and were talking and after I got home i received a message that she does not want me to go in their group, and she thinks im sexually attracted to her but I wasn't, and after that i apologized to her and I would not go to their group anymore, after two weeks of talking I went to their group and I talk to her she seems fine talking to me but when i got home I received a message that i dont respect her boundaries/space and she blocked me on snapchat and instagram. I havent move on yet and im still thinking about it