An Israeli airstrike on a hospital compound in central Gaza early Monday sent flames ripping through tents housing displaced people, killing at least four and injuring dozens. Videos from the scene appeared to show one man being burned alive as bystanders could do little but watch.

The Israeli military said the target of the strike was a Hamas command center on the premises of al-Aqsa Martyrs Hospital, in the Deir al-Balah area. The site was filled with tents erected by families who had fled fighting elsewhere in the enclave. The majority of those injured from the overnight strike and ensuing fire — many seriously — were women and children, according to Gaza health officials.

The health ministry said four people died, but Fahd Haddad, the head of al-Aqsa hospital’s emergency department, put the death toll at five.

By midday Monday, the tally of the injured had risen to 70, according to Ahmed Salman, director of the civil defense in Deir al-Balah.

The strike was yet another instance of Gaza’s hospitals, which are supposed to be afforded extra protection under international law, coming under Israeli attack. And for the displaced civilians, it underscored once again that no place in the Strip is safe.

A witness told The Washington Post the tents caught fire as several explosions rocked the area. Ahmed al-Ras, 41, a photojournalist for Al-Kofiya TV, a local network, was at the tent for journalists inside the hospital premises at the time of the strike, which caused gas cylinders to explode, he said.

“The fire was very fast and burned all the tents. I saw three people burning, dozens of injuries and hundreds of families running and screaming and searching for their children,” he said, adding that it took about 40 minutes for the civil defense team to douse the fire.

Anna Halford, a project coordinator for Doctors Without Borders in Gaza who visited the scene later Monday, said the strike appeared to have hit a metal container next to one of the hospital buildings where some displaced people were staying, and the fire spread from there.

Halford said displaced families typically rely on gas cylinders to cook as there is no firewood.

The IDF said in its statement, without providing details, that it took steps to mitigate civilian harm ahead of the strike. In response to questions from The Post, the IDF media desk said the air force had “conducted a precise strike” on militants operating in a lot adjacent to the hospital building.

“Shortly after the strike, a fire ignited in the hospital’s parking lot, most likely due to secondary explosions. The incident is under review,” the IDF said.

A widely shared video of the fierce blaze appeared to show at least one person on a bed burning alive while onlookers shouted. In the clip, the man lifts his head feebly and looks down at flames engulfing his body.

A separate video clip shared with The Post by Louise Wateridge, a spokeswoman for UNRWA, the U.N. agency for Palestinian refugees, showed rescuers wrapping a charred body in a blanket. A blackened foot could be seen sticking out of the makeshift shroud. The video was taken by a UNRWA colleague at the scene, Wateridge said.

“There is a state of fear and panic, and the displaced have no shelter but to sleep in the open,” al-Ras said.

Gaza Civil Defense spokesman Mahmoud Bassal said the hospital compound had been targeted by Israel at least half a dozen times previously.

The health facility itself was not damaged, according to a medical worker at the hospital, who spoke on the condition of anonymity because of concerns for their safety.

“Most of those who survived have severe burns, but they will die after a while because their burns are massive and deep,” they said. “It’s just a matter of time.”

As the blaze swallowed the tents, dozens of injured streamed into the hospital’s emergency ward. Many of the injured were women and children, Haddad said.

“We don’t have beds available. We were treating patients on the floor. It was a horrible scene,” he said.

Some of the injured had shrapnel in their body and required critical care, he said, adding that the hospital doesn’t have a burn unit and at least a dozen patients were transferred to two other hospitals.

As the sun rose, displaced people picked over the charred and mangled remains of tents, sheet-metal structures and vehicles, according to a video published by Reuters.

The fire destroyed structures sheltering 37 families, Halford said. “All of their belongings were burned on the ground.”

The hospital was already overcrowded and overwhelmed; now, Halford said, officials there are trying to encourage the families who lost their tents to find somewhere else to stay. But “there aren’t many places to go,” she added.

Gaza’s health system is under severe strain after repeated Israeli attacks on health facilities and medical personnel, Israeli evacuation orders and shortages of critical supplies.

Israel ordered three hospitals in northern Gaza to evacuate last week, according to Munir al-Bursh, the director general of all hospitals in Gaza, amid an intensifying assault on the enclave’s northernmost governorate. The United Nations estimates 175,000 people are stuck there.

For the past two weeks, Israel did not allow food aid to enter the entirety of northern Gaza, where the United Nations says about 400,000 are trapped. Hospitals were running out of food and water, the Gaza Health Ministry said Monday, pleading for help to evacuate patients.

Humanitarian and rights groups have accused Israel of violating international law by blocking aid.

“Israel must urgently do more to facilitate the flow of aid to those in need,” Vice President Kamala Harris said Sunday in a post on X.

On Monday evening, the IDF said 30 trucks carrying flour and food from the World Food Program had entered the Erez crossing to northern Gaza. Scott Anderson, deputy U.N. humanitarian coordinator in Gaza, said the United Nations planned to pick up the aid Tuesday.

More than 42,000 people have been killed and more than 98,000 wounded in Israel’s war in Gaza, according to Gaza’s Health Ministry, which does not distinguish between civilians and combatants but says the majority of the casualties are women and children. Israel launched the military campaign in response to the Hamas-led attack on Oct. 7, 2023, during which militants killed 1,200 people in southern Israel and took about 250 hostage.

At least 1.9 million people across the Gaza Strip — 90 percent of the population — are internally displaced. Many have sought shelter in hospital facilities and schools, hoping the civilian institutions will confer some added protection. But Israel has repeatedly attacked schools sheltering displaced people as well as hospitals, arguing that Hamas uses the civilian infrastructure for military means.

On Sunday night, Israeli troops fired “a number of tank shells” in the area of the Nuseirat refugee camp in central Gaza — five of which hit an UNRWA school housing displaced people, killing at least 22 who were sheltering there, the agency said in a statement. The school was supposed to be an immunization site during the second phase of a U.N.-led campaign to vaccinate children against polio, “but due to the damage inflicted it was not able to be used,” UNRWA said. The IDF did not immediately respond to a request for comment on the strike.

“The polio vaccination campaign started as planned this morning at all other facilities in the middle Gaza area,” UNRWA added.

The Israeli military body charged with liaising with humanitarian groups in Gaza said it was facilitating the campaign and would work to ensure civilians could reach vaccination sites.