Imperfection comes from choice - the choice to be outside of God’s will. When Adam and Eve chose to disobey God, they chose imperfection.
That doesn't negate the question. How does pefection give rise to imperfection?