its not about how much studying you do, how great you are in class, or how well you have prepared. Its all about how well you do on the exam. Professors dont see you studying, dont know whose writng what, and only have the paper, and their rubric and administer points. They will asume that the A’s studied the most, were the most prepared etc.
Some schools have arbitrary grade cut offs. That means that most 10% of a class can write an A exam, 25% of the class can write a B+ exam, 25% of class can write a B exam, etc ( or whatever the curve guidelines are at your school. if you have questions, ask the prof) So while the top 60% of the class knows the law, the differences between an A and B exam, may not be that much.
That being said, grading can be a bit nitpicky. A lot of the classmates will spot the isues, and write the rule and elements. How well they articulate teh rule, and apply the elements to the fact pattern is different. that is where teh top grades separate themselvs from teh bottom grades, assuming everyone spotted the isues, and the correct rule/ elements. ( if not, well then that test isnt in the running for top grades). Determining how well the test is articulated, is up to professor. Some like a lot of relevant case law ( and a tie as to how its relevant), others want more a more policy oriented analysis. Others dont like policy, and see it as a mid exam fishing expidition- and will skim it. Some take points off for a mis applied case, or mis applied elements. Some professors like you to argue both sides evenly, while others want you to pick a side, defend it, and only mention ( and then defeat) a counter argument.
The difference between an A and a B+ can be as minimal a 2-3 sentences( this is a bit dramatic, but its to explain it better), where the A was able to get 5 points, and the B+ was not. What is needed to go in those two sentences depends on the professor’s personal likes and dislikes ( which is why its important to pay attention to the professor in class- they may give you hints) Others will not award points, or take points away if you defeat your own argument ( or switch sides in the middle of the exam answer) Others dont care about wha side you pick, just want to hear both sides. Spelling and gramer can also play a role in deciding the grade.