As I do not want to mess around with mod internals myself, I cannot really reproduce this issue. But the following steps should cause the issue:
- install mod A
- deactivate mod A
- update mod A to a new version that has a dependency on mod B that was not present before
- find that mod A is still inactive, but mod B is active
The attached log does not contain a mod update that causes this issue.