You feel humiliated and angry. Why?
Someone has questioned your identity. Some has questioned what ego thinks is you. The what you identify yourself with.
The bigger the ego, the easier it is for others to trigger it, whether it be intentionally or not.
This is one of the reasons. Or it may be the ultimate reason :)
What’s the cure? Fight? With your opponent? Or with your ego? Or both? No. None of them.
The cure is awareness. Observing yourself.