What causes an ice cream headache?

That might be caused by sensitive teeth. I get issues with that with foods that are too cold or too sweet.