Gag orders are often used to protect the sanctity of the jury and the court.
Never mind the sanctity of the First Amendment.