Why is he shy suddenly?

This guy has liked me for awhile and was somewhat outgoing around me but all of the sudden he is shy. When he talks to me he won't look me in the eye anymore, when he sees me in the hall he looks away quickly unlike when he used to gaze into my eyes, and when I catch him staring at me he quickly looks away when he used to keep staring. He used to be totally confident and everything! Why is he like this? Oh yeah, and sometimes when I catch him staring at me he keeps staring.
Why is he shy suddenly?
Post Opinion