A girl would act pretty friendly towards me and seem to like talking to me whether it be in class, at work, (I work 40 hours a week and go to summer school so I don't get to go out that much in social situations). This has happened to me again recently, a girl was acting friendly towards me and then turns cold/awkward. What is a way to prevent this from happening and why does it happen? Hate being in these situations.

I know neither of these times I have did anything to offend these girls. It's like a light switch just went off. I also do not act clingy whatsoever, quite the opposite, try to stay cool and collected.