It works only if the electrons move in the low electron junction to the higher electron junction. Like the PNP, the NPN transistor is considered ON when its’ base is pulled reduced relative towards the emitter.
A https://marvinmjhu397787.pointblog.net/the-best-side-of-transistor-72061857