That impact could have happened during the derailment, like hitting one of the catenary line poles, or the rocks of the rail bed.