It is unsafe to travel with a dog in the back of a pickup for many reason. One reason is that, according to Newton's first law of motion, if the driver slams on the brakes,
the dog's inertia will cause it to continue to move forward at the same stopped, until it is stopped by a force.