Dave is correct... I'll try to clarify some more.
In an NPN:
- The base-emitter voltage and the doping of the base determinesdetermine the rate of emitter electron current injection into the base, which is swept into the collector due to the potential drop from base to collector and the narrowness of the base region.
- The base-emitter voltage and the doping level of the emitter also determine the rate of base hole injection into the emitter, which does reduce the collector current.
- The ratio of the dopant densities sets the current ratio between the base and collector (Beta).
BJTs are designed with light doping in the base and a very narrow base width to maximize the diffusion of the emitter current to the collector. As a result, the base current needed to develop the Vbe for a given rate of emitter current injection is very small compared to the emitter and collector current, and so BJTs have high current gain.
Here's an online reference that goes into some detail: Modern Semiconductor Devices for Integrated Circuits, Ch. 8