Not surprising that Germany has a better train network.
Besides, Canada used to have a much more extensive train network back in early 1900s when the population was a tenth of what it is now.
Canada could have functioning train networks if we wanted them.
And then there's a pet hypothesis of mine, that a factor in the unreliability of German rail is the famous absence of a general speed limit on the Autobahn: that this might make DB strive for fast best case connection times more than it would if driving was slower, pushing them to schedule an unrealistic house of cards with not enough slack to recover from the unexpected.
That said, this doesn't mean it's impossible the fix Germany's trains. Germany's network did work quite well before, and it can again. The fixes are happening right now, but it's going to get worse before it gets better, because all the construction that needs to be done interferes with the network.
And that's a wonderful thing, you can reach "everywhere" with a train in Germany. That's something I wanted to say that we need to keep in mind when we see a headline like this. It's a sense in which Germany's train service is one of the best in the world.