If I had to guess, based on what looks like the train colliding with cars/another train in a siding, that a switch was left open to the siding in dark territory. Or if it was a head-on as is being reported, then perhaps the train switching on the siding blew through the switch and on to the main track.
Scott