Before the iPhone and maybe blackberry the majority of phones used random proprietary charger. The iPhone was the first mass market consumer phone to come with a cable that connected to a standard usb charger.
And had a device end connector that didn’t change every other model. Some phones used standard connectors for that but plenty didn’t, and manufacturers would sometimes change the connector without rhyme or reason.