Shorter distances to travel, and in most European countries railroads were a prime target of both sides air forces during WW2. With all the destruction on the continent, they had a clean slate to engineer better railbeds. In addition, their economies were ruined by the war, so automobile travel didn't gain popularity until much later, by which time the railroads had been rehabbed and were in excellent shape.
Bookmarks