I was dropped off and hit by a passing car when I opened the door.
That can involve both the driver's choice of where to stop and the door itself. Vehicle Code § 22517 addresses opening a door on the traffic side when it is unsafe, and responsibility may be shared between the rideshare driver, the passing motorist and the passenger under California's comparative fault rules. It is worth having the facts reviewed rather than assuming the answer.