Invalid logic pertaining to karma in sutta AN 5.129?
The way my first teacher explained karma, it works like a matching machine, it just puts the "victim" in the situation when the odds of encountering a certain kind of people are increased. It's like, the victim's bad karma makes them more vulnerable to corresponding problems.

But the actions of the "aggressor" are their own choice plus their own past karma. They are not caused by the "victim's" karma.

It's just like opening the windows in the night can make you a victim of mosquitoes. It's not that your act of opening the windows literally makes mosquitoes come and bite you. It just makes it possible for them to find you, but their actions are their own - they act driven by their hunger, survival instinct and so on.

Just so you understand, because it's easy to get this wrong. Karma is not some magical force unknown to science, it's just a hidden (latent) effect of the previous actions. It seems magical because its complexity (the number of connections in the spanning graphs of effects) exceeds our capacity. But if you look at any specific example, it will always have very objective, very rational forces at play.