What is the psychology men who act passive-aggressive toward men who are hanging around the woman that they like?

I have this stupid dilemma at work ( of all places I wanted this to be)... one guy (Garrett) told me he had feelings for me but due to being coworkers it was decided that we be friends. Though, I have another friend at work (name is Cole, which I know likes me too). He will follow me everywhere, or come to look for me even if I've been gone for literally 10 seconds... he always wants me to sit by him, asked if I'd wanna kiss sometime (i said no...), keeps asking when we'll hang out and I have been reminding him that we are (and always will be) just friends... Anyway, ever since Cole has been around me more, I've noticed Garrett has been acting passive-aggressive toward him & really mean... why do men do this even when they say they want to be friends?

What is the psychology men who act passive-aggressive toward men who are hanging around the woman that they like?
Post Opinion