Some government needs to force some standards. Power tools are the worst. Each company is trying to create a network effect and it's anticompetitive.
There are two issues: some manufactures put more smarts in the battery than others. So never run the battery completely dead which some combinations allow. Never charge the battery with other than the OEM charger.
Don't buy the off-brand batteries (which sometimes are counterfeit that look like the real thing) since they sometimes are not safe.