Either a) as poster says above doing something impulsive, based on emotions and probably against the person’s best interests.
Or b) with my cynical hat on, having a perfectly normal upset reaction to a shitty, passive-aggressive person who delights in winding people up, then mocking their hurt.