USB cables are a bit different from audio cables. Audio cables just transmit the audio signal. So really bad audio cables will impact sound quality. But there really isn't a difference between decent and expensive audio cables.
It is different for USB cables. USB cables also transmit the power to run your device (for the sake of this, I will refer to the device as a phone from here on out) and to recharge the battery of your phone. So a really cheap knock-off USB cable can transmit too much power and damage or even fry your phone/phone battery. I would be cautious on USB cables for connecting your phone and go with ones that are well reviewed and/or have a trusted brand name. You don't need ones that are crazy expensive, but the ones for $2 made by some Chinese company you never heard of...I would tend to avoid.