If they have any fuel/power for them.
Trains run on electricity. Most electricity in the U.S. is generated using fuels other than gasoline. After the Iran-Israeli war renders most of the Mideast radioactive, gasoline will become scarce and restricted for “official use only” in the U.S. Electricity will continue to flow.