You want to avoid overcrowding the pan. If you fry too many donuts at a time, the temperature of the oil will decrease. When decreased, the oil will not fry the donuts appropriately, and you’ll end up with greasy under-cooked donuts.