But if that didn't happen, we'd still be buying computers with firewire and vga ports. Hell, why not throw in a serial port just for fun?
I haven't actually spoken to one person in real life (i.e. not on an opinionated forum) who actually has a problem with the lack of headphone jack. Hell, I'd guess 95% of people use the headphones that come in the box!
There's always a reasonable time where a port is easily replaced by something that does better, faster, more conveniently.
i'm not against forward progression.
Unfortunately, as of right now, and likely for the near future, There's no current standard replacement for an analogue port. it doesn't exist.
Lightning is non-analogue and must first pay apple MFi licensing to use. It also requires a built in DAC in the process since lightning is digital only. This add cost and complexity.
USB-C may eventually provide this, but the USB-C audio standard isn't widely accepted and rolled out. Most current USB-C doesn't provide analogue audio.
So there we have it. We are still on 3.5mm audio jacks because there's absolutely zero alternative available yet to replace it for a simple analogue audio passthrough port.
All the above also only applies to smartphones. Because you then also have to remember, that the 3.5mm audio port is the de-facto standard audio connector on virtually decades worth of consumer electronics. From walkmans to high end stereo equipment, to even some production / recording use the 3.5mm audio jack.
as I said, i'm not against new standards replacing old ones. But thats not what has happened here.
None of the benefits of wireless, or Digital based solutions required the removal of the headphone jack to be used either. When the headphone port is there, users have choice to use Digital output, analogue output or wireless. Now, they can only choose Digital or Wireless.3
Each of the examples you mentioned in your post, that you tried to compare to, all had replacements that completed the identical activities, but better when they were replaced.
firewire was ultimately replaced by Firewire 800, than killed when USB-2 and then USB-3 ultimately rendered Firewire redundant.
VGA ports believe it or not can still be found on lots of computers, But like above, VGA ports have been replaced by technologies that accomplished the same things. DVI, HDMI, Displayport, etc.
Serial: Replaced by USB (hence universal SERIAL bus) that not only accomplished the identical activities, but did it faster and more reliably.