Judges prefer the participants settle.
Settlement usually happens only after the case has progressed enough through discovery and pretrial motions to make the most likely resolution evident. And judges know that one of the best ways to prompt a settlement is to set a case for trial.