Cab drivers are also responsible to check and warn passengers of anything. If a passenger opened the door as a car was coming by it would also have been the cab drivers fault unless he warned them not to open it - they have more responsibilities than just driving people from point A to B.