On counterexamples to local-global divisibility in commutative algebraic groups