Gen Z would say they're being salty. Salty can be used to describe jealous, irritated, or resentful behavior.