It's so much easier, turn up at the station and get on the train. You turn up like 5 minutes before the train, you get on and leave. You don't have that with a flight
That's not how it works for international train journeys. You still need to queue and go through passport control.