Looks like it's a thermal laser that is rapidly oxidizing the red iron oxide into black iron oxide. Black iron oxide is still a rust, but unlike the red rust it doesn't spall off and binds strongly to the iron underneath.
This would also be a good way to make black screws and bolts and whatnot.