A fever is the body’s response to an infection. An infection with a virus is the most common cause of fever in children. Infections with bacteria can also cause fevers. Fever can also be a side effect of vaccinations. Teething does not cause a fever.