I believe this is a holdover from the Chainmail / Wargames days, where the Fireball and Lightning spells (the first Wizard spells) derive from the catapult rules. If you think of spells as being things that were almost literally lobbed and had something of an arc to their travel, it makes sense that you have more range outdoors than underground.