Genesis 6:4
The Nephilim were on the earth in those days--and also afterward--when the sons of God went to the daughters of men and had children by them. They were the heroes of old, men of renown.
This scripture, it seems that there is no problem
(KJV)Genesis 6:4 There were giants in the earth in those days;and also after that,when the sons of god came in unto the daughters of men,and they bare children to them,the same became mighty men which were of old,men of renown.
But this translation describes the cause of the problem they bare children to them
I don't know why the Scriptures become so inconsistent
If the sons of God here refer to angels, then Genesis says that in the garden of Eden do not know shame, That might make sense,cuz angels did not eat The fruit of the tree of good and evil, Even they don't know what kind of behavior can cause evil for human being.
but for human,cuz Adam and Eve ate The fruit of the tree of good and evil, then all human being had the knowledge of good and evil.
This is just my speculation based on the KJV translations, they bare children to them