The Law of Cause and Effect is actually The Law of Cause, Condition and Effect (Read here first about The Law of Cause and Effect for its detailed discussion). It states that for every Cause (action or deed) – regardless of its nature, there will be a corresponding inescapable Effect (result), and that our Own Causes will only give us our Own Effects.
The CONDITION is what happens in between the Cause and Effect. This cannot eliminate the Effect but only affect the manner it is manifested. So the complete chart will be like something below:
Take for example the cherry blossoms, they blossom every spring but during winter you see nothing but withered-looking trees. The tree has that energy or ability (CAUSE) to produce flowers (EFFECT) but this depends on the weather (CONDITION).
In our lives, our parents and partners are examples of Conditions that brings out the Effect of a past Cause. Living as a cruel and violent person in the past may birth us into an unloving and poor family but there are many such families out there why were you born into that specific family?
CAUSE: Living as a cruel and violent person in the past
EFFECT: Born into an unloving and poor family
CONDITION: Your parents / family
You could have been born to different parents where the Bad Effect is worse. Maybe aside from being an unloving and poor family they also live in a country at war.
The Law of Cause (,Condition) and Effect is also called The Law of Karma. It is inescapable. No Condition will make us escape our Karma, it only affects the manner of its manifestation.