Girls what does it mean when you are Hot and cold to a guy?

Basically , you are sweet and loving and sincere to a guy and then all of a sudden you are distant and cold to him like a few days later? I have experienced this with girls to the point I don’t understand it? How do you go about telling a guy you are head over heels for him and want to be in his arms and he is the best thing that ever happened to you then you tell him to get away from you don’t touch me I am not in the mood etc.. I always wonder what the fuck I did wrong to realize I didn’t do anything wrong , Why do girls do this shit?
Girls what does it mean when you are Hot and cold to a guy?
Post Opinion