Why is girl acting this way?

so this girl confessed she liked me to my friends a few weeks ago. we talked a lot and then she turns cold for a few days and then she turns hot again. I tried to initiate contact and little flirting but no flirting back really from her side. in real life she keeps looking at me and try to start conversations but our energy is awkward to eachother. this week she went cold on me we didn't talk at all I tried to video call her but she didn't pickup and told me she will call back because she was working which she didn't. now I saw her yesterday at my friends house we were sitting with 8 other people and I only said hi to her and that was it. then I went home 4AM and while walking home a few minutes later she randomly sent me a chat on snapchat: sleepwell

i really dont understand what this girl is doing or what I should do with this.

Why is girl acting this way?
Post Opinion