I used to get in taxis all the time in New York. But before the driver would let me in he’d (and it was always a he) roll down the window and ask where I was going. He didn’t want a ride in the opposite direction of where he wanted to go, and he certainly didn’t want to drive into an ‘undesirable’ (minority) neighborhood. That’s illegal, but the practice was commonplace.
Uber and other rideshare companies changed all that. You enter where you’re going in an app, the driver accepts the ride, but doesn’t learn the destination until you’re in the car and on the way – and they can be penalized for cancelling rides.