Small problems cause more deaths in planes. A condom-sized bomb could make an airplane unstable enough to crash and kill everyone on board. On a train, a bomb that size would do little more than burn up a few rows of seats. They would just need to uncouple that one car, move everyone to the car behind, and continue running the slightly-shorter train.
There's something about planes. Perhaps it comes down to ground-dwelling-mammal hindbrain psychology: We're intrinsically more comfortable when we're close to the ground, even when we're theoretically more vulnerable there. I suppose if birds ran our transportation system they'd think differently. ("I'd sure hate it if someone set off some fireworks when I was on my feet on the ground -- I'd be trapped! Only two dimensions to maneuver in, low potential energy, I can't even move my wings properly, and just think how vulnerable I'd be from above! I'd far rather be 20,000 feet up, where I can jump out a window in case of trouble.")