Fire officials said six of the cars were carrying liquified petroleum gas, including four that ended up in the river.