Why would my female friend suddenly start acting shy around me?

We would have a lot of fun just hanging out and talking. We would talk on Facebook chat for hours. One day she just kind of started acting shy with me and stopped liking and commenting on my posts. She now seems to only message me after I message her first but she always looks at my messenger day thing?
Why would my female friend suddenly start acting shy around me?
Post Opinion