Hi I think it has to do with the amount of an ingredient which can be an A but then becomes a B on the quantity
Rating is based on overall macros. Once all macros are added together and then divided by servings, then it determines the rating. I haven't seen the recipe so I am not sure.