What is brainfreeze?

Oftentimes, when I gulp down a really cold beverage very fast, I get this momentary throbbing headache … a phenomenon known as brainfreeze? So what causes it?

Cecil on: What causes ice cream headache?