Because one programmer switched their collisions off. Before StarCraft shipped in 1998, its path-finding kept jamming the mineral line. Players pack as many workers as they can onto every mineral patch, the workers ran head-on into each other, and while you were away fighting they ground to a halt. No minerals came in, and everything you had queued up stalled.
Patrick Wyatt, a programmer on the game, wrote in 2013 that after studying the path-finding code he realized there was no way he was smart enough to just "fix the problem". So he wrote what he calls a dirty hack: a worker on its way to the minerals, or on its way back carrying them, ignores collisions with other units. With nothing to bump into, the workers never jam. He says that hack is what let the game launch without massive and time-consuming re-engineering.
You can catch it yourself, as he describes: select a large group of workers while they are mining and tell them to stop. They spread out at once to find tiles that are not taken.
The platform, the worker bots, the army units and the run on screen are our own simplified version, drawn in code. Our workers step from tile to tile and wait when the next tile is taken; the loads counter and the queue lamps are our run's numbers, not the game's. The last step is shown slowed down: in the game they spread out the moment you say stop. This is the 1998 game as Wyatt describes it; we claim nothing about later versions.
Which race did you send to the minerals first: Terran, Zerg or Protoss?
Sources: Patrick Wyatt, "The StarCraft path-finding hack", Code of Honor, 20 February 2013 (codeofhonor.com).
Not affiliated with or endorsed by Blizzard Entertainment.
Sounds and music: our own, made in code.
