The term used to describe someone who gets upset or angry when others do to them what they did to those individuals is "hypocritical." Hypocrisy is the act of professing beliefs, feelings, or virtues that one does not actually hold or possess. In this context, a hypocritical person is one who expects others to abide by certain standards or rules that they themselves are not willing to follow. They may engage in a certain behavior towards others but become angry or offended when the same behavior is directed back at them. It's a form of inconsistency between one's actions and words.