What does it mean when a guy is suddenly rude to you?

Anonymous
this guy I work with is has been nice and helpful towards me since day and he would often flirt and tease me sometimes but yesterday when I did something wrong he was being really rude and making hand gestures like he was annoyed or something, and when I went to clean the windows, his friend told me he had already cleaned them and told me to finish wiping down the door, and shrugged his Shoulders in a "just saying" kind of way... And then throughout the way he would look at me... It's very confusing and if you're a guy please why guys like this way or he acted this way..
What does it mean when a guy is suddenly rude to you?
4 Opinion