Answer:
There are multiple factors that go into a judge's ruling, much of it is based out of legal findings, (admissible & useful) evidence, the judges ideology, political connection, and personal judgement - while judges do hold a lot of power their methods must be agreed upon at the local/state & government levels.
Step-by-step explanation:
This can vary greatly depending on location; a NYC judge probably won't have the same decision-making process as a judge from Nebraska.