That is the only way objective morality could possibly exist. Morality is an arbitrary human value judgment, created by Adam and Eve. They made a moral judgment of "right and wrong" out of Original Sin. God didn't say anything about "right or wrong" when He gave them the warning about eating from the Tree of Knowledge, He said, "you shall die". How man tends to judge interprets the story of Adam and Eve as a matter of "right and wrong", comes from Adam and Eve, themselves, which is why man judges by "good" and "bad", and views the consequences as some sort of "punishment".
God is not issuing a "threat", He is stating a 'Spiritual Fact'. Human judgment is flawed, mistakenly going by our limited point of view of "right and wrong", which is self-imposed. Man is incapable of properly distinguishing "right from wrong", and we know this at some unconscious level, so we use a general standard of measure to go by, and "call it objective", even though it is fundamentally a man-made conception, that comes from "flawed judgment". This creates an immature and unsophisticated view of faith, where God is the "parental figure wagging His finger at us" when we do "wrong".
The human arrogance of accepting free agency from God made Adam and Eve prideful, believing they were capable of making a judgment of right and wrong, which they became subject to upon biting into the apple/quince, along with the rest of humanity that follows. Upon arrival in the mortal realm, Adam and Eve felt shame, having realized the consequences of their mistake. The moral system of "right and wrong" creates the judgments of "guilt vs. innocence". Living under the fear of guilt is too much for humans to handle after so long before one is energized to get from under it.
"Fear" turns in to lust and desire, and one is motivated to acquire. Because what can be "gain" can become "lost', anger and resentment ensues, which is taken out on God, the world and our fellow man, the "perceived threats" to our personal satisfaction. The "anti-authoritarian" of ego rejects man's flawed morals and the "oppressive authority of God". and decides to go by one's own set of morals, which become anti-nature, anti-human and anti-God. Here we can see people delving into an ever deeper pit of distorted judgment and error.
A parent doesn't scold a child for not looking both ways before crossing the street, out of some "objective morality" of "good and bad". The immaturity of ego and human judgment views "smacking a child's hand" reaching for a hot stove, as "punishment" for "bad behavior". The "responsible parent" is accountable for giving a child 'fair warning' about the real dangers and harsh realities of the world we find ourselves in, which gives us pause and time to reflect before making our decisions and acting on them.
John 5:22 quotes Jesus saying, "Moreover, the Father judges no one, and has given all authority to judge to the Son." In verse 30, Jesus goes on to explain, "By myself I can do nothing. I only judge as I hear, and my judgment is just because I do not seek my own will, but the will of the one who sent me." With the authority to "judge", Christ only judges us accordingly to how we judge. In Matthew 7:2, Jesus mentions, "By the judgment you pass shall be used to judge you, and by the measure you exact shall be used to measure you." Who does Adam and Eve have to blame for that?