Some dogs may be afraid to approach a car because it smells weird to them. Try to get them to approach the car until they stop, and as a reward, feed them a high quality treat. See if you can make gradual progress that way.