Animals see the vehicle, not you.
Our cars are built for off-road conditions and kept in condition for them. That is the practical half.
The other half is worth understanding: while you are seated inside, wildlife reads the vehicle and everyone in it as one large object, and does not associate it with food. Predators included. That is why staying inside matters, and why a safari in a proper vehicle with a guide who knows the animals is as safe as it is.