Why babies develop fever
Dr. Lingam, author of The Complete book of Child Health, states that a rise in your baby's body temperature can be attributed to white blood cell activity. To fight off infection, these cells produce pyrogen, a substance that stimulates the hypothalamus or the section of the brain that regulates hormone production and body temperature. When the hypothalamus is stimulated, the set point of the thermoregulatory center is subsequently raised, causing body temperature to rise by a few degrees. This function of the body helps to kill or limit bacteria or viruses that are sensitive to temperature changes.
http://www.indiancrestpeds.com/info-article/baby-fever-home-treatment-call-westminster-pediatrician/