Shit, now you have me wondering if some cable makers ship their cables wirh spying hardware and ate just harvesting our phone data when it is plugged in.
Some of the cables have wifi/bluetooth/etc radios in the plug space itself now. That's how small that tech is now. They can create a network when plugged in and depending on how your device is setup (or if there is some sort of zero-day) it can pop the device and steal anything it can find.
The world is full of terrors that most have never even tried to consider. This is stuff you can build/buy. Not even "government level" stuff.
As if I didn't make you paranoid already, here is another post. This is at least a year old. https://counterespionage.com/malicious-usb-cables/ Archive: https://archive.is/wip/t7uFo
If this is what (((they))) allow us to know about, imagine the shit they are keeping secret.
Look at it like this.
If I have thought about how to do this (which I did well over a decade ago) then a nation-state already built it. Think about things like this through that lens. Now, you can go overboard but anything that seems remotely possible probably is and is already built by -someone- even if it's not me.