Most bikes have a one way sprag clutch that lets the motor overrun the starter when it starts, when it fails the starter will not engage the crankshaft (but they don’t usually fail suddenly), I’m not sure if this bike has one as I don’t know what bike it is.