They bombed a bridge.
A train happened to shoot into the crosshairs at the last moment.
Shit happens.
In my experience, trains usually travel on railroad tracks as opposed to just darting out on a bridge from nowhere. Limits of available technology did not permit looking to see if a train was coming before the bomb was let go?
Oh, gee, an accidental atrocity. No way they should have ever shot back then.