i think he didn't want to leave his safe space. the car was a coincidence. if
my pup was afraid to leave the yard i would slowly move further and further
away from the yard. i would play in the yard, walk around the yard, etc.
i would also drive my pup somewhere so he could experience a new area.
driving the pup somewhere will help with getting use to car rides.