because the law considers an Uber ride to be ridesharing, not a taxi ride. The driver can ask you to pay cash, and you can refuse. Nothing illegal there. If the ride is already in progress or the destination is reached, and then the driver asks for cash, once again you can refuse.