Not all actions have immediate results. That is why they may manifest in future lives.
In the Bṛhad-āranyaka Upaniṣad, it is written: “A man resolves in accordance with his desire, acts in accordance with his resolve, and turns out to be in accordance with his action.”
In this way, karma, like a vine creeping between trees in the jungle, conditions are existence in each life.