Let's stop to admire the excellent UX of the 3.5mm jack
* tactile feedback when connected (it clicks, you hear it & feel it).
* "find my device" : just pull on the wire
* quickly switch between devices
* instant pairing
We just need a marketing guru to sell people on the 3.5mm wired headphones
It had some issues where in unplugging and plugging the cable would cause voltage spikes because the pins would get dragged across the wrong connectors and not all be disconnected at once. Which is why you hear that pop when using loudspeakers and (un)plugging the cable. This apparently lead to damage of the speaker over time as well.
Which many devices solved by not sending output to the connector until after it sensed resistance on the pins, then enabled the audio output. So, another problem solved by 3.5mm jacks!