One cell had, probably either due to being tested in the factory, being filled with less of the active ingredients or because of other factors, a lower capacity than the other, despite them coming off the same production line. Thus when it depleted, either due to use or because it had an internal leak path that allowed it to discharge faster, it went low, and then the other cell started to charge it in reverse. Very common with primary cells, as they all have a nominal capacity, and being a mass manufactured item the tolerances can vary from unit to unit quite a bit, and you just had two cells that sat at either end of the curve.