MEXICO CITY — President Andrés Manuel López Obrador on Wednesday rejected US suggestions he get more aggressive against violence after this week’s massacre of fundamentalist Mormons in northern Mexico, saying the war-on-drugs approach has been a ‘‘disaster’’ in the past.

Authorities also noted that the bullets used in the killings of three women and six children in the northern state of Sonora on Monday were manufactured in the United States.

The slaying Monday of the members of the extended LeBaron family — dual US-Mexican citizens — has raised pressure on López Obrador’s leftist government, which has pledged to use social programs to address the root causes of violence.

‘‘It’s unfortunate, sad, because children died. This is painful,’’ López Obrador told reporters Wednesday. ‘‘But trying to resolve this problem by declaring a war? In our country, it’s been shown that this doesn’t work. This was a disaster.’’

He was referring to the US-backed offensive against drug groups launched in 2006, with the deployment of the Mexican army to battle organized-crime groups. Around 200,000 people have died in violence related to the conflict.

Mexico continues to work closely with the US government in pursuing drug kingpins. President Trump, however, suggested a more aggressive approach after news of the killings broke Tuesday, tweeting that ‘‘this is the time for Mexico, with the help of the United States, to wage WAR on the drug cartels and wipe them off the face of the earth. We merely await a call from your great new president!’’

Other American politicians also expressed alarm at the violence surging south of the border.

Senator Tom Cotton, Republican of Arkansas, said that ‘‘the Mexican government can’t handle this’’ and that the United States might have to step in.

The Mexican leader’s strategy ‘‘may work in a children’s fairy tale,’’ Cotton told Fox News. ‘‘But in the real world . . . the only thing that can counteract bullets is more and bigger bullets.’’

López Obrador responded that Cotton’s comments reflected ‘‘his vision.’’

‘‘We respect it, but we don’t share it,’’ the president said.

Mexican authorities noted pointedly on Wednesday that the cartridges recovered from the attack were .223 caliber and produced by Remington, a US firm. Those are typically used in M-16 and AR-15 assault rifles.

Mexico’s public security secretary said 70 percent of all the weapons tied to a crime in Mexico were smuggled from the United States. ‘‘That’s why the cooperation of the US government will be fundamental to get good results,’’ Secretary Alfonso Durazo said.

There was no immediate response to e-mails seeking comment from Remington. Mexico has extremely strict laws limiting the sale and possession of firearms; there’s only one gun store in the country — and it’s on an army base.

Foreign Minister Marcelo Ebrard said Wednesday that all details of the investigation would be shared with US authorities, and that Mexico was open to considering US offers of assistance.

Mexican officials said Wednesday that the attack might have been linked to a fight between local groups connected to the Juarez and Sinaloa cartels. The groups — known as La Linea and Los Salazar—- had clashed a day before the families were killed, according to General Homero Mendoza, the Defense Ministry’s chief of staff.

Mendoza told reporters that La Linea sent gunmen to the Bavispe area to defend its territory. The three attacks on the LeBaron family occurred near that municipality, close to the border of Chihuahua and Sonora states — a key corridor for sending drugs to the United States.

‘‘We assume this cell that was sent to prevent any incursion by Los Salazar is what is behind the aggression against the family,’’ Mendoza said.

He said the gunmen might have mistaken the families’ SUVs for vehicles belonging to its rivals.

Mendoza said the attacks occurred at 9:40 and 11 a.m. Monday, but authorities didn’t learn about them until 2:30 p.m., because area residents were too frightened to approach the sites. The military didn’t arrive at the scene until 6:15 p.m., he said.

The attacks, the latest in a series to rock Mexico, have brought more scrutiny of López Obrador’s new approach against organized crime. The president, who took office last December, has created a 70,000-member National Guard, but it has been unable to halt the violence. Mexico is likely to set a record for homicides this year.

Material from the Associated Press was used in this report.