Spiritual death was caused by Adam's disobedience in eating from the tree of the knowledge of good and evil, which created a separation from God.
Watch the Teaching: What Does it Mean to Be Dead in Sin?