“דַּבֵּר אֶל בְּנֵי יִשְׂרָאֵל וְאָמַרְתָּ אֲלֵהֶם אִישׁ אִישׁ כִּי תִשְׂטֶה אִשְׁתּוֹ וּמָעֲלָה בוֹ מָעַל.”
“Speak to the sons of Israel and say to them, ‘If any man’s wife goes astray and is unfaithful to him,”
5:15 “וְהֵבִיא הָאִישׁ אֶת-אִשְׁתּוֹ, אֶל-הַכֹּהֵן” “then the man shall bring his wife to the priest”
This verse begins to describe the Torah law about unfaithful wife. In verse 6
the Torah uses the same action word “מעל”,”unfaithful” about a relationship with YHVH. (5:6) “למעול מעל ביהוה”, “acting unfaithfully against YHVH”
The Zohar asks to why the Torah asks the man brings his wife to the priest and not to a judge. The answer is that the priest is the support of the Shechina. He makes the connection between the Shechina in Malchut to Zeir Anpin and for that the connection between man and woman is under his responsibility.
The seven blessings a woman receives during the wedding ceremony connect her to the Shechina and that is why the woman is brought to the priest.
The priest doesn’t make judgment. He is the aspect of Chessed and can bring mercy on a woman that was blamed for being unfaithful to her husband for no reason.
If the woman is clean from blame then the priest berings peace among them and the woman become pregnant with a boy. If she lied then the judgment she will suffer is not from the priest but from the name of YHVH that she lied to.