Separation of powers. Legislative branch makes the laws. Executive branch approves and executes the laws. Judicial branch adjudicates violations of the laws.
While a judge interprets law for the jury during the instruction phase before they weigh a case, those interpretations are grounded in an understanding of the law, not an interpretation of it, and established precedent.