JERUSALEM — A Palestinian teenager scrambled over a fence surrounding a Jewish settlement in the West Bank, ran into a house and stabbed an Israeli-American girl to death as she slept in her bed on Thursday morning.

The perpetrator, Mohammad Tarayreh, 19, was fatally shot after the attack. The victim, Hallel Yaffa Ariel, 13, had been sleeping in after staying up late for a dance performance the night before. Her father found her in her room, according to the Israeli news media and the head of the settlement’s volunteer security team.

The killing, in the Kiryat Arba settlement, was the latest in a series of attacks that surged in October and have left more than 30 Israelis dead. Several of the victims, including Hallel, have been dual citizens of the United States, according to the State Department. More than 210 Palestinians have also been killed, most while carrying out attacks or when thought to be about to do so.

Thursday’s attack was particularly gruesome.

Mr. Tarayreh, from Bani Naim, a sprawling town separated from Kiryat Arba by hills, a highway and a barrier surrounding the Jewish settlement, managed to cross over the fence early Thursday, Eyal Gelman, the head of the Kiryat Arba security team, told Israeli radio. He entered the Ariels’ house and locked himself in. The team of armed residents, including Hallel’s father, saw that the fence had been breached and began searching for the assailant.