Steam locomotive wheel spin

Nope, diesel. That would be a single bogie that would make those marks. Something like that happens sometimes in a long train with a multy diesel lashup. The lead loco controls them all but one didn’t get the “message”, thus trying to move all of it while stationary.
I would have loved to see the locomotive’s wheels - it surely will need new tyres....