Because they spend the vast majority of their operating time stopping, idling, and accelerating at low speeds, . They are pretty much a worst case scenario for ICE efficiency.
But then the cars do not need to be electric! A hybrid with a small battery will suite this as well and, given the current price of batteries, will be cheaper.