Sons of God
Here’s what it means
Beings or people who belong to God, with the referent determined by context.
Why the Bible says it this way
In Job the phrase refers to heavenly beings, while the New Testament often uses similar family language for God's redeemed people.
The writer uses vivid or unusual wording to make the point clear and memorable.
A helpful detail: Genesis 6 is especially disputed.