The image of American judges is very noble and sacred in the eyes of many ordinary people. In American courts, the original defendant and the lawyers of both parties call the judge "Your Honor", which is commonly translated as "Your Honor". Honor means: dignity, nobility, integrity, honor, loftiness, dignity and credit. So far, the word "your honor" has almost become a special word for the profession of judges.
Adults and your majesty actually use the same. Generally speaking, when talking to a queen or king, you should say Your Majesty, and when talking to a third party, you should say Her Majesty or Her Majesty. Majestic means "supreme authority" and "kingship", that is, greatness, while your majesty actually refers to you who holds kingship, that is, "you who holds kingship". Her/his majesty refers to her/him who holds kingship and is a title of respect for the queen/king. So theoretically, only the queen or the king can call himself your majesty. Similarly, so is honor.