Female friend acts cold towards me why do women do this?

I really dont know why but all day she has just been giving me one word answers to anything I ask her.

One minute she asks for my help on an assignment.

The next minute I see her struggling with something so I offer to help her and she kept refusing acting stubborn then asked me for help when I stopped talking to her.

She kept teasing me about girls that I liked in the past and she makes a remark saying "too bad they don't know you exist"

Was talking to another girl today before class and she kept saying shit like that girl is just using you to get to know your friend. Wtf I had like a 5 min convo with that girl not like I know her or anything.

Eventually I asked my female friend how many guys she's dated.
She responds with "you think im a hoe"

Then gave me the silent treatment.

Like wtf I help her out and all she does is run hot and cold with me.

Guys/Girls can you shed light on her behaviour.
Female friend acts cold towards me why do women do this?
Post Opinion