It might have been the other way round, ie the battery voltage was decreasing for some reason by itself (eg internal short) and that was allowing more amps to flow into the battery (greater voltage drop from the source).
I'm not saying that's what was happening, but I think it might get in the way of finding the answer to assume a particular direction of causation, if any.
Rgds
Damon