There was no electric grid to speak of - even now there is concern the grid can't support all EV's, once you were outside the cities (and there weren't many back then) the grid was spotty. The miracle of being able to pour some cheap liquid in an engine and drive for miles is a considerable achievement.
Lead acid batteries weren't very good and were expensive (and still are) and don't last long compared to petrol engines.
Electric motors were big then - it was only rare earth magnets that made them small enough to consider using in cars at high speed/ranges.
Its always been possible to make a small electric commuter car to drive round at 30mph for short distances but even today there are none like this, because people want to take their cars on the road on the weekend without having to worry. In the 1900's it was the call of the open road and cheap travel (petrol was very cheap then) that made petrol win.