[Might be related]
My eight year old MotoX has (had) finicky cable preference.
Turned out the micro USB port had accumulated some pocket lint.
Bright light, high power magnifying glass and a toothpick* later, cables seat properly.
(* Plastic toothpick from a Swiss army knife. It's flat sided.)