Normally your body has its internal thermostat set to around 36.8°C. A fever raises this thermostat setting so the normal temperature regulation mechanisms activate to try and correct this. This includes shivering and hiding under the duvet. Your skin may be hot to the touch, but your body temperature is still lower than the thermostatic target temperature, so you feel cold inside.
Get more fascinating Q&As from BBC Focus magazine by following @sciencefocusQA