Why would a girl act cold towards a guy she doesn't know?

Had this happen a few times but rarely though which is why I'm curious
Why would a girl act cold towards a guy she doesn't know?
Post Opinion