The spinning was from the main engine thrust. As the engine spooled down, the spin ended.
The seats in the F-35 are Zero-Zero, so the system was designed for that ejection, and everything worked perfectly. Seat separation, deployment of chute, and deployment of survival gear on lanyard.
Martin Baker should be proud.
In the vertical flight mode, thrust is provided by a lift fan in the middle of the aircraft and the aft nozzle which rotates 90 degrees down.
At touchdown, the lift fan had a malfunction, cause unknown, and now, all thrust is being provided by the aft nozzle, pointed straight down.
The pilot advanced the throttle to takeoff.
Since the lift fan is not producing lift, the aft nozzle thrust lifts the tail of the aircraft until the nose of the aircraft hits the ground.
The aircraft then tilts on its right wing and nose wheel & spins around.
At that point, it appears the pilot brings the power to idle, the plane reverses spin and returns to wings level.
The pilot then ejects.
It does appear that the pilot landed directly in front of the aircraft. Fortunately, the aircraft had stopped rolling.
My guess is that the lift fan malfunction was mechanical and not software (FADEC or fly-by-wire) related.