That sucks, but just seems weird in general, not to you specifically. You never hear about these things happening on random cheap Android phones or PC laptops. Well, at least I don't, but you hear about them semi-frequently regarding Apple products.
Anecdotally, I've had numerous Android phones (granted, almost all Google Pixels) and I've just used any random USB cable to charge and never thought about it and never have had any problems.