While friends and neighbors disputed a suggestion that the boy had been abused, the judge on Monday proclaimed the gag order necessary to prevent "loose-cannon pronouncements."
The boy - who has been charged as a juvenile with two counts of murder - sat restlessly next to his mother, fidgeting, tapping his fingers on the table, and swiveling and rocking in his chair. His mother declined to comment as she left the courthouse.
Much of the hearing focused on court-ordered mental health and competency evaluations of the boy. Judge Michael Roca gave defense attorneys until Friday to either find an expert to evaluate the boy's competency or to agree to one suggested by the prosecutors.
Defense attorney Benjamin Brewer also asked for access to the crime scene - a two-story home where police say the boy's father, Vincent Romero, a 29-year-old employee of a construction company, and his co-worker and roommate, Timothy Romans, 39, were shot with a .22-caliber rifle on Wednesday.
Brewer complained that police questioned the third-grader without representation from a parent or attorney and did not advise him of his rights.
Hundreds of mourners packed a funeral Mass on Monday for Romero at St. John the Baptist Catholic Church. Romans' funeral was scheduled for later in the week.
Relatives and friends painted a picture of Romero as a caring father who seemed to be doing all he could to raise a polite and respectful boy.
"They were always together doing things as a family, fishing, hunting," said Carlos Diaz, a cousin of Romero's current wife.
About 600 mourners filled the church in this rural town of about 4,000 people 170 miles northeast of Phoenix. Those who could not get in crowded around an open door or sat on chairs set up outside. Romero, an avid hunter, was in a casket with a camouflage lid.
Police said Romero's son planned and methodically carried out the killings, and confessed. Authorities would not discuss specifics of the confession.
Police Chief Roy Melnick said over the weekend that police were looking into whether the boy might have been abused. He would not say who might be under scrutiny. The gag order was issued just before Melnick was to hold a news conference to discuss the case.
Prosecutors said there was no record of any complaints filed about the boy with Arizona Child Protective Services and that the youngster had no disciplinary record at school.
Former prosecutor Wendy Murphy said there is not enough evidence known yet to tell whether this murder fits the profile of an abuse victim who snaps.
"It's an incredibly unusual case," Murphy told Early Show anchor Maggie Rodriguez. "We hear about 8-year-olds accidentally shooting a gun. This was execution style. So I think it's fair to say there was something pretty awful going on behind closed doors. Police have already talked about the investigation of this child being an abuse victim. I wouldn't be surprised to hear that this child was suffering terribly horrible things behind closed doors."
Romero had full custody of the child. The boy's mother lives in Mississippi, according to officials. Police said the boy's stepmother was not home at the time of the shooting.