Then that’s impossible because I know for a fact that long distance trains have windows.
You're right. You can totally open windows in long distance trains:
https://www.youtube.com/watch?v=XewmQjcY3Rc
But I never said trains break more often than cars, no idea where you took that from. I was saying that if your car breaks down on a highway you will be able to open a window, get out and you will wait for less time to be picked up. I really don't think it's difficult to understand.