Magnetic cables aren't spec compliant, and for good reason. It's way easier to mess up with the voltage connections and fry the usb c port due to stray metal and a lot more exposed to ESD. You should avoid using them.
https://www.reddit.com/r/UsbCHardware/comments/motlhn/magnet...