One idea about how the scratch happened: bike computer mounted with a couple zip ties. Guy uses a box cutter to remove, goes a little hard. Blade bites into the paint in a straight line up the fork, then slides off toward the shoulder, leaving fainter damage to the paint in that area.
If stresses caused the carbon to break underneath the paint, the damage wouldn't look like it was coming from the outside.