I developed a crush on a guy that I work with almost as soon as I began my new job (several months ago). For awhile we barely acknowledged each other's presence (I am very shy, yes, and he is too). Then one weekend we ran into each other outside of work, at a club. I was a little drunk

so I kind of ran up to him and was exclaiming over having seen him. I was with a male friend though, and I didn't want to be rude and ditch him, so I left it at that.
Starting the next week at work, something had changed - it was as if running into each other mysteriously brought us closer. All of the sudden this guy (Ryan) who had spoken maybe two words to me in as many months would come up and talk to me, kid around with me, sit with me on breaks. We flirted hardcore...I was elated by all of this, of course...it went on for two weeks.
Then once again, things turned completely around, and I have no idea why.
It's back to how it used to be, but now it's more than that - he goes out of his way to ignore me. He also goes out of his way to flirt with other girls in front of me. I'll be standing with a group of people, and he will come over and talk animatedly with every single person except me...he won't even look at me, or even say hello or good-bye.
I have no clue what happened...it wasn't as if we had any kind of falling out.
We seemed to be getting closer every day, and then out of nowhere he did an about-face...does it seem like he lost interest in me, or is thinking that I wasn't that interested in him in the first place? Like said, I am terribly shy and not good at expressing my feelings...maybe he thought I would take our flirtation a step further and was disappointed when I didn't? But I don't understand why he's acting like I suddenly stopped existing. It hurts...but I have too much pride to let him know that. What can anyone make of this situation? Thanks...
Ivy