You can make a lot of arguments as to why this is, but the point being driven home is that electric vehicles aren't the dirty polluters that some people make them out to be. It is pretty clear that a standalone diesel generator is more efficient than a portable diesel engine packed inside of a car. Some folks made a pretty good video showcasing this: