Rail can arrive and depart at predictable times. That’s insanely important in a transportation system. Buses (at least those without dedicated right of way) are dependent on traffic conditions. I’ve regularly had to wait 45 mins or more for a delayed bus.