On short distances a railway is simply less efficient than trucks.
Also companies have optimised their storage and logistic chain to expect for example one truck each day instead of a train each week and thus are using the road as storage facility.
Part of it is that the Northeast Corridor has to pay for basically the entire rest of the country where Amtrak almost universally loses money.
The other is that Acela specifically is priced to be more or less just competitive with air on the BOS-NYC and NYC-DC legs. (Acela doesn't really work for the most part to travel the entire length of the corridor.)
I almost never take Acela if I'm paying myself because the electrification work done for Acela made the regular regional train only about an hour slower for the BOS-NYC leg. (They used to have to switch engines in New Haven.)
Passenger rail is pretty much the direct opposite, requiring fast acceleration and speed. So the two do not mix well (freight trains will slow down passenger trains.)
The only country that operates both high speed rail and freight successfully, by China, literally built a whole separate new high speed network to reserve for passenger trains and to leave freight the freed up space on legacy lines.
A bit like what the US does for roads.
https://specialty-freight.com/2021/06/us-requires-railroads-...
"This April, the US Senate introduced the Rail Passenger Fairness Act, legislation that requires infrastructure managers to prioritize passenger trains over freight trains. Infrastructure managers will be brought to court for not complying.
[...] the US is giving Amtrak, the nation’s main passenger carrier, the ability to take infrastructure managers to court for not providing preference to passenger rail operating on their rail lines."
Apparently the incentives are not there for that, and should be reexamined accordingly.
The single trip I took by rail in the US we spent most of our time just waiting on other freight trains to pass us.