Invalid logic pertaining to karma in sutta AN 5.129? WARNING: I don't hold the views put forward in Section B (by "the views put forward in Section B" I mean everything in Section B besides the sutta itself.) of this question anymore and I think that the views should not be held by anyone because of them being dangerous. It's dangerous to believe there are no bad consequences for one for doing some intentional bad(e.g. violent) action/s. It's much safer to believe there are severely bad consequences for one for doing any intentional bad(e.g. violent) action/s. I now believe that every intentional bad(e.g violent) action that one does does have bad consequences for one. 

Section B:

This has been perturbing me for a while.  

--I have noticed what looks like invalid logic in this sutta  https://accesstoinsight.org/tipitaka/an/an05/an05.129.than.html 

(
note 1: this is the conclusion I come to if I look at kamma and the the-fruit-of-kamma (vipaka) logically, if it isn't true then it seems kamma and the-fruit-of-kamma (vipaka) operates illogically or "randomly" or in an unknown way???

note 2: The paragraph below also only seems applicable if the event is onesided i.e an "innocent victim" is involved
)  

Seemingly the aggressors are supposedly in hell for their actions but weren't their actions (the aggressors) only because of their victims kamma from past lives (now their current fruit-of-kamma (vipaka)) and therefore the aggressors actions (the victims fruit-of-kamma (vipaka)) were seemingly unavoidable, so why would the aggressors be in hell?
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.