I don’t know why that is how it is done in the US. There are several legal matters that have to be processed like that.
Like certain driving infractions, you have to appear in court in front of a judge, vs just go to a clerk and pay a fine.
Or when my divorce was finalized, I had to show up at court in front of a judge.
Maybe someone with a law background will explain.