NEAREST, adjective Shortest; most direct; as the nearest way to London. So we use nearer for shorter. [The use of these words is not correct, but very common.]
Source: Webster's 1828 American Dictionary ↗ · public-domain · returned verbatim, no AI