99% chance that the sprag clutch or gears in the electric starter system is broke.
It's common, and is especially likely to occur when the weather gets cold, which puts the jetting into a lean condition, unless it's re-adusted.
So, the likely scenario is that you kicked it, it was lean, so it kicked back causing the engine to try to move backwards, and the sprag clutch can only go in one direction, and it broke.
The sprag clutch is fully engaged 100% of the time. It works sort of like a ratchet-wrench, and can only go one way.
It can break during electric starting or kick starting.
And it can even break if the bike stalls, and the engine tries to go backwards after the stall.
The way to approach this is to remove the primary cover, and inspect all the gears in there, and it's probably got a couple of broken teeth, or the teeth in the sprag clutch itself are damaged.
If the gears are ok, and just the sprag clutch is toast, that's a bit cheaper to repair.
Some people just remove the whole thing, and put the primary back together without the sprag system, and use kick-start only.
Once you do that, it can't break again.