What causes fainting in children after crying?

Young children often hold their breath when they cry, which can easily cause temporary lack of oxygen to the brain, resulting in syncope.