Lions generally do not attack vehicles when people are inside them because the lions recognize cars and trucks as something that is not part of their natural environment and do not see them as prey. Additionally, the safari vehicles are typically large and sturdy, and the lions may not see them as something they can successfully attack. The presence of a human inside the vehicle may also be a deterrent, as lions typically avoid direct confrontation with humans.
It’s also worth noting that safari guides and drivers are trained to keep a safe distance from wild animals, and take appropriate safety measures to protect visitors and avoid disturbing wildlife.