Boils may be caused by a weakened immune system. When a child's immune system is weak, his body is unable to resist the attack of bacteria that cause boils. Children who suffer from repeated attacks despite taking precautions to not become infected with boils need to have their blood tested.