saury2k
can anyone please explain the issue with B.
Let's compare B and D directly:
(B) Not until Hammurabi’s Code was enacted, did a government grant the right to its citizens
that they could be aware of their laws.
(D) Not until Hammurabi’s Code was enacted, did a government grant the right to its citizens
to be aware of their laws.
The only difference between the two answers are these words. Let's ignore the first part of the sentence and cut out some prepositional phrases to make this easier:
(B) ... the right
to its citizens that they could be aware
of their laws.
(D) ... the right
to its citizens to be aware
of their laws.
(B) ... the right
that they could be aware.
(D) ... the right
to be aware.
Unfortunately, this comes down to idiomatic usage, not a nice, transferable rule — do we say somethings is a "right that _____" or a "right to _____"? You might think of some classic examples: "right to life, liberty, and property", "right to education", "right to vote", etc. There aren't any obvious examples for "right that _____", so it isn't likely to be idiomatic. So we should pick D over B.
A good desperation move here if you aren't sure of the idiom: B is significantly longer/less efficient/wordier than D. Does that mean it's wrong? Not at all. But if there aren't any grammatical or meaning mistakes and we don't have anything else to go on, the shorter answer is likely the more effective and idiomatic answer.