In the Garden of Eden, Adam tried to cover his own sin, but God rejected Adam’s attempt, and provided him instead with a covering that required the death of an animal:
“ And the eyes of them both were opened, and they knew that they were naked; and they sewed fig leaves together, and made themselves aprons.”
“ Unto Adam also and to his wife did the LORD God make coats of skins, and clothed them.” Genesis 3:7, 21 KJV
>I'll say it makes sense logically, how people who fall short of the glory of God can be in his presence.
“ But we are all as an unclean thing, and all our righteousnesses are as filthy rags
; and we all do fade as a leaf; and our iniquities, like the wind, have taken us away.” Isaiah 64:6 KJV
“ But now the righteousness of God without the law is manifested, being witnessed by the law and the prophets;
 Even the righteousness of God which is by faith of Jesus Christ unto all and upon all them that believe: for there is no difference:
 For all have sinned, and come short of the glory of God;” Romans 3:21-23 KJV
“ Even as David also describeth the blessedness of the man, unto whom God imputeth righteousness without works,
” Romans 4:6 KJV
“ What shall we say then? That the Gentiles, which followed not after righteousness, have attained to righteousness, even the righteousness which is of faith.
 But Israel, which followed after the law of righteousness, hath not attained to the law of righteousness.” Romans 9:30-31 KJV
“ For they being ignorant of God's righteousness
, and going about to establish their own righteousness
, have not submitted themselves unto the righteousness of God.” Romans 10:3 KJV
“ For we through the Spirit wait for the hope of righteousness by faith.” Galatians 5:5 KJV
“ And be found in him, not having mine own righteousness, which is of the law, but that which is through the faith of Christ, the righteousness which is of God by faith:” Philippians 3:9 KJV
We all fall short of the glory of God. Even what is righteousness in man’s eyes is filthy rags in God’s eyes. Just like God provided a covering for Adam and Eve that he would accept, he has provided a covering for us in Jesus Christ. When God looks at someone who has trusted in Jesus, he sees the righteousness that he has imputed, not what we presently are, in the flesh.