Japanese police arrested a 20-year-old U.S. Marine on Sunday on suspicion of murdering and robbing a woman found dead in a Naha hotel room, prompting Prime Minister Sanae Takaichi of Japan to lodge a strong protest with the United States over a killing she called “extremely brutal and heinous.”

The Marine, identified by the police and Japanese media as Lance Corporal Devin Jacob Ballard, is suspected of killing Anna Yagi, 39, early Saturday and taking her wallet and backpack, the Okinawa prefectural police said. He was arrested at 1 a.m. Sunday after officers spotted a man matching the description in security footage walking in Naha’s entertainment district, the Kyodo News agency reported. Mr. Ballard, who was stationed at Futenma Air Station, has denied the allegations.

Ms. Yagi was found unresponsive in her room around 4:30 a.m. Saturday and pronounced dead at the scene. Kyodo, citing the police, said she appeared to have been strangled. Security camera footage showed a man believed to be the suspect entering the hotel with her and leaving alone with her belongings, the police said.

“We have lost a family member and are deeply saddened,” her brother said in a statement released through the police, according to the Asahi Shimbun newspaper. “My parents, in particular, are utterly devastated at the loss of their daughter.”

Ms. Takaichi said her government had demanded maximum cooperation with the investigation, tighter discipline among U.S. personnel and measures to prevent a recurrence. Defense Minister Shinjiro Koizumi called for the same, saying such incidents “cause great anxiety among the local community and must not be allowed to happen.” Foreign Minister Toshimitsu Motegi summoned George Glass, the American ambassador, to convey his ministry’s outrage. Mr. Glass said he had spoken with the ministry and Okinawa’s governor, offering condolences and “pledging full cooperation as the investigation continues.”

The governor, Genta Koja, was blunter. “The case deals a major shock and adds fear to the Okinawans who have already been forced to live next to U.S. bases,” he told reporters. “It is absolutely unforgivable and we are outraged.” Of the military’s discipline after past cases, he said: “I must say, discipline and troop education are not working at all.”

The III Marine Expeditionary Force, based on Okinawa, said the suspect was in the custody of the local authorities and that the Marines were cooperating, adding that the corps “takes these allegations very seriously and expects every Marine to adhere to the highest standards of behavior.” The U.S. Embassy in Tokyo said it was aware a service member was in custody and was communicating with the Japanese government.

The arrest could hardly come at a more delicate moment for the alliance. About 50,000 U.S. troops are stationed in Japan, roughly half on Okinawa, and Ms. Takaichi’s cabinet is pushing to fortify Japan’s own military presence there as tensions with China grow. Okinawans have objected for decades to the noise, pollution and crime tied to the bases; the 1995 rape of a 12-year-old girl by three servicemen drew tens of thousands into the streets, and arrests involving service members and their families exceeded 100 last year, according to the prefectural police.

Futenma itself, squeezed into a densely populated part of central Okinawa, has been the subject of relocation demands for years; a project to move it to Henoko, on the island’s eastern coast, is running far behind schedule. In 2017 a former Marine working on base was sentenced to life in prison for raping and murdering an Okinawan woman, and last year a Marine received seven years for choking and attempting to rape a woman in her 20s. Mr. Ballard remains in police custody while the investigation continues.