Was the dog ejected because it was not in a crate that was properly secured in the vehicle? I've seen so many people driving with their pets freely roaming around in the vehicle.
The one exception I have found for this are cattle dogs in the American west who are basically raised and live on the back of a truck. These trucks often don't every leave the dirt road.
Dogs which are not secured will be injured, injure a passenger or both during a collision. Ever see a dead dog on a freeway? Most of them have jumped out of a truck or car window.
I recall a fellow who built what were effectively “wheelchairs” for his dachshunds after he was in an accident and their backs were broken, leaving them paraplegics.