Probably due to the cold water tightening the muscles of the throat an neck and as with all exercises you don't get much flexibility out of tighten muscles... ie you should warm up and cool down before and after exercises. Unless of course you enjoy having cramps.

I imagine a headache could be a side effect?

My guess
Alex