The Earth Is Not a Ball
Turning latitude and longitude into vectors you can do geometry on, on an Earth that is lumpier than a sphere.
Latitude and longitude are angles on a curved surface, and you cannot take the dot product of two angles. To do real geometry on the Earth, measure an angle between two cities, feed a region to a spatial index, you first turn each point into a vector in space. The twentieth familiar does that conversion, honestly, across an Earth that is neither round nor drawn on a single map.