IDIOMS

nose out of joint

(idiomatic) An emotional state where someone is in a bad mood because he/she has been offended by or taken exception (objected) to some action.

Example:   I think he got his nose out of joint when they promoted his friend but not him.