It doesn't sound as if you were a bad person. You are reflecting through what happened so it is more likely that you are a good person. Do you know how to get in touch with her to talk about it again? Or can you ask a mutual friend on what she thinks? It sounds like you like her but maybe she is just upset about something else at the moment. Maybe she misunderstood something.
My take on the situation is you can meet some women who are there to teach and to have listened to as you said 'And then she's like it's hard to have a conversation with me, all that because I'm a know it all, and I was like I'm not trying to be, just saying things I believe?'
She is on a very different journey to you and you came into contact with a more evolved soul and can be especially difficult to deal with because she sees everything before it comes out of your mouth and sometimes they can be overwhelmed by what they know so it comes across as rude and mean-spirited. It wasn't anything you did she recognised you as a kindred spirit only she had things to teach you which unfortunately you thought was a conversation of equals which it wasn't.
If there is a lesson to learn sometimes it's better to listen, than to share what you know or believe.
Don't worry about it, we are all different.
I think this girl was drawn to you for some reason, but when she got to know you a little it caused a strong reaction within her. A reaction she had not expected and was unprepared for. Because of this she became confused, then scared, then angry. I think her behaviour towards you is the result of her own inner turmoil at how you presented yourself.
When men meet women they like, they subconcisly look for ways to impress them. They think it makes them appear wise, cleaver etc. when what they actually look like is a big head or a burbling idiot. You might have come across to her in that way.
Is this real or a dream?
Was she stoned?
Were you both stoned?
Any woman who sees a complete stranger in a - private pool? Public pool? Hotel pool? - and goes to him and starts snogging him has problems. I wouldn't give any credence to her claims.
It sounds like she might have borderline personality disorder, bro. I could be wrong.