It’s quite possible that the grades your classmates are reporting to you are not accurate. If you want to discuss your grade with your teacher, that’s your prerogative, but you should not bring up others grades, as you really have no business knowing them, and you can’t be sure the information you have is correct. Many students don’t like discussing their grades with others, so when you asked them, they may not have been 100% truthful.