A quick test from Firefox dev tools for initial page load: - https://en.m.wikipedia.org/wiki/Phonon 1.04MB, Finish 619 ms - https://en.wikipedia.org/wiki/Phonon 1.94MB, Finish 1500 ms
// @include *://*.m.wikipedia.org/*
window.location.replace("https://en.wikipedia.org" + window.location.pathname);
The basic answer is that early on the tooling wasn't there to support very difference devices from the same HTML. You could try tricks to detect mobile devices and serve different content. But it was much easier just to let people decide which they wanted.
I haven't kept up, but I know the tooling keeps improving, so I expect that few people today are creating mobile-specific URLs, and that the existing ones will go away in the long run.
My guess is that it was easier to set up that way at the time, and then the configuration was kept when a mobile version was integrated into MediaWiki itself.
There are plans to merge the domains (https://phabricator.wikimedia.org/T214998), although they are vague and stalled.