Answer:
The flavouring substances in gum e.g. mint etc., cause localised vasodilation (the veins and capillaries in your throat dilate). The tonsils at the back of your throat in particular are highly vascular. When you drink icewater, this causes sudden and severe vasocostriction (a vasopressor response to cold immersion), which results in pain. You find the same effect if you drink something very cold after drinking something hot, and the same principle applies in 'ice-cream headaches'. It's the relative degree of change in vasopressor state that results in that feeling of burn or freshness.