There have been no significant increases in labor pay matching inflation for years (every year workers have taken a loss).
Additionally, the remainder of the industry is as good as nationalized which started with legislation in 1966, and worsened with the charter of the Surface Transportation Board in 1996.
Railroads can't raise their own rates to increase their profit, despite costs. Little investment has been forthecoming for the industry prompting loans from the government which don't fix the fundamental problem.
There were even points where railroads had to have a bailout because of fraud on the bankers parts, which as far as I know was never actually punished.
The simple fact is, inflation hits everyone, rates aren't matching inflation, and of course people won't continue to work when their livelihood is threatened.
Ironically, this is a problem you only generally see in centralized, socialist systems. The next clear step is Directive 10-289.
https://theexplanationproject.fandom.com/wiki/Directive_10-2...