It's not! One of the end results is taking trains across national borders is way more annoying than it should be. That in turn I believe has lead to warped statistics on the viability of rail for long distances!
International passenger rail is a bit of a niche of the overall rail market, but if you compare north America to Europe here, Europe is doing much better.