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.
Seems like this was it. Worked when boosted. I thought my friend tested this before I asked since it was my first suggestion and they kept asking after.Battery?