Question about car accidents

If one car crashes into another car which causes the other car to crash into another car, does the car that caused the crash have to pay for both the cars involved?