CNN  — 

Turkish President Recep Tayyip Erdogan has admitted to his government’s “shortcomings” amid growing anger over the state’s response to the massive earthquake earlier this week, which is now known to have killed more than 21,000 people.

Days after the quake hit Turkey’s Gaziantep province near the Syrian border, rescuers are racing against the clock through freezing conditions in a frantic scramble to pull survivors from the debris. As questions emerge over the country’s preparedness, the latest estimates from the World Health Organization said up to 23 million people could be affected by the disaster.

Huge piles of rubble and wreckage litter streets in Gaziantep where residential buildings and properties once stood. As the desperate search for survivors continues, emergency responders have periodically called for silence from those in the immediate vicinity and for heavy machinery to briefly still while rescuers check for signs of life from trapped residents.

The official response has seen Erdogan declare a state of emergency for the next three months in 10 provinces. The country’s disaster management agency has deployed search and rescue teams to badly-hit areas and the health minister announced field hospitals had been set up.

Speaking as he visited several earthquake disaster zones Wednesday, Erdogan vowed to take “every necessary step” and unite the state and nation so that “we will not leave any citizen unattended.”

Earlier in the day, the president had acknowledged public concern over the government’s response, admitting the state initially “had some problems” at airports and on roads, but insisting the situation was now “under control.”

Erdogan also angrily pushed back against “some dishonest people” for “falsely slandering” his government’s quake response, saying the moment called for unity and that “in such a period, I cannot tolerate the viciously negative campaigns for the sake of simple political interests.”

He continued: “No doubt our job was not easy. The difficulty of weather conditions added to the magnitude and prevalence of the destruction caused by this earthquake, which was felt in an area of ​​500 kilometers in which approximately 13.5 million people live. Despite this, we mobilized all the resources of the state and the nation and directed them to the disaster area.”

“Of course there are shortcomings. The conditions are obvious. It is not possible to be prepared for such a disaster. We will not leave any of our citizens uncared for.”

Erdogan’s remarks come amid growing frustration from the public after reports emerged of entire towns in the country’s north flattened by the powerful tremblors. Amid the discontent, access to Twitter was briefly restricted in Turkey.

Network monitoring firm NetBlocks said Wednesday that traffic filtering had been applied at the internet service provider level while user complained Twitter was inaccessible. Access was restored by Thursday morning following an update on the situation from Twitter CEO Elon Musk.

“Twitter has been informed by the Turkish government that access will be reenabled shortly,” Musk wrote.

Turkey’s Information and Communication Technologies Authority oversees internet use in the country, and has not acknowledged the restriction or provided any reasoning for the curbs users experienced. However, Turkish police announced that multiple people have been detained or arrested following “provocative posts” about the quake on social platforms and websites “that want to abuse our citizens” have been shuttered.

View this interactive content on CNN.com

Public response divided

Turkey is a country familiar with earthquakes given its location over several tectonic plates, but disasters like Monday are not common.

This week’s magnitude 7.8 quake was one of the most powerful to rock the region in the last century. An equally-strong 7.8 magnitude quake hit the east of the country in 1939, which resulted in more than 30,000 deaths, according to the United States Geological Survey.

In the wake of a separate massive quake in 1999 – which killed more than 17,000 people – the Turkish state introduced a so-called “earthquake tax” to provide support as a result of the economic losses from the disaster.

The tax – called the “special communications tax” by authorities – was one of the six taxes introduced after that catastrophe. It was initially introduced as a temporary measure, but subsequently became a permanent levy. Charged for the past 24 years, local tax expert Ozan Bingol estimates that the state has collected around 88 billion Turkish lira as a result.

View this interactive content on CNN.com

The largest amount was collected last year, totaling 9.3 billion lira (approximately half a billion dollars). It is unclear how the tax has been spent – whether some of it has been used for reinforcing buildings or for earthquake preparations – which have added to public frustration.

The Turkish Ministry of Treasury and Finance lists the tax as “general budget revenue” but the government doesn’t specify exactly how the collected money has been used. Inclusion in the “general budget” means it’s expected to be used as a “service to people” for projects like building roads, bridges, hospitals and other general payments.

In Gaziantep, a stronghold for the ruling AKP party, there appeared to be a generational split among residents over the state’s handling of the disaster.

Kadir Suliman, a 23-year-old student, told CNN: “The state came here as soon as they could and is working 24/7 to help everyone. I criticize the people who criticize the government. They should just keep to themselves.”

Another student, Mustafa Yldrem, also 23, pushed back against criticism, questioning what more could have done in the face of such a widespread catastrophe.

“There have been 10 earthquakes in 10 different cities across the country. What more can the government do? The state is sending updates via text messages to all citizens about the safety of their areas. They inform us if buildings were inspected by the state and if they were cleared for safety. They opened up spaces of refuge, mosques, schools, etc and made sure they were heated. All for free.”

Muhammed Enes Yildirim/Anadolu Agency/Getty Images
An aerial view of collapsed buildings in Hatay, Turkey, on February 18, 2023.
Murat Sengul/Anadolu Agency/Getty Images
Tent city set up in Hatay, Turkey by the coordination of Disaster and Emergency Management Authority (AFAD) of Turkey on February 18.
Mehmet Murat Onel/Anadolu Agency/Getty Images
People pray for earthquake victims at Grand Camlica Mosque during the Lailat al Miraj in Istanbul on February 17.
Ozan Kose/AFP/Getty Images
People wait near a collapsed building in Kahramanmaras, Turkey, hoping for news of their missing relatives on February 14.
Fire Department of Mersin Province/Anadolu Agency/Getty Images
A woman is rescued from rubble in Hatay, Turkey on February 14. Rescue teams in southern Turkey said they were still hearing voices from under the rubble more than a week after the earthquake.
Muhammed Said/Anadolu Agency/Getty Images
Children sleep in a tent in Idlib, Syria, where an amusement part was turned into a shelter for earthquake victims.
Francisco Seco/AP
A man walks near a building that toppled over onto a neighboring structure in Golbasi, Turkey, on February 13.
Anas Alkharboutli/picture alliance/Getty Images
People dig graves for earthquake victims in Idlib on February 13.
Burak Kara/Getty Images
People line up to receive supplies in Samandag, Turkey, on February 13.
Satellite image ©2023 Maxar Technologies/AP
This satellite image, taken on February 13, shows a landslide blocking a road in Islahiye, Turkey.
Enes Yildirim/Anadolu Agency/Getty Images
Derya Akdogan is rescued from the rubble of a collapsed building in Hatay on February 13.
Murat Kocabas/SOPA Images/LightRocket/Getty Images
Two people walk through earthquake ruins in Hatay on February 12.
Kemal Aslan/Reuters
Members of a Greek rescue team work at the site of a collapsed building in Hatay on February 11.
Halil Fidan/Anadolu Agency/Getty Images
Sezai Karabas is put on a stretcher after being rescued from rubble in Gaziantep, Turkey, on February 11. Karabas' young daughter Sengul was also rescued.
Turkish Presidency/APAImages/Shutterstock
Turkish President Recep Tayyip Erdogan meets with residents in Diyarbakir, Turkey, on February 11.
Yasin Akgul/AFP/Getty Images
Residents walk near a destroyed mosque in Antakya, Turkey, on Friday, February 10.
Emrah Gurel/AP
People bury earthquake victims in Adiyaman, Turkey, on February 10.
Emilie Madi/Reuters
Rescuers try to free a child trapped under rubble in Hatay on February 10.
Mahmoud Hassano/Reuters
People sit on furniture outside damaged buildings in Jandaris, Syria, on February 10.
Hussein Malla/AP
Cranes remove debris next to destroyed buildings in Antakya on February 10.
Emrah Gurel/AP
People mourn their loved ones as earthquake victims are buried in Adiyaman on February 10.
Stoyan Nenov/Reuters
Rubble is seen in Kahramanmaras on February 10.
Stoyan Nenov/Reuters
A man lies on a stretcher after he was rescued in Kahramanmaras on February 10.
Mehmet Ali Ozcan/Anadolu Agency via Getty Images
This aerial photo shows damage in Kahramanmaras on February 10.
Petros Giannakouris/AP
Raziye Kilinc is carried through a crowd on a stretcher after she was rescued from a destroyed building in Iskenderun, Turkey, on February 10. Her daughter is seen waving at the top.
Yasin Akgul/AFP/Getty Images
A man walks past collapsed buildings in Hatay on February 10.
Evrim Aydin/Anadolu Agency via Getty Images
Search-and-rescue workers aid a cat that was rescued in Kahramanmaras on February 10.
Suhaib Salem/Reuters
A woman mourns at a hospital in Kahramanmaras while others rest nearby on February 10.
Piroschka van de Wouw/Reuters
Rescuers carry Zeynep Kahraman after pulling her alive from the rubble of a building in Kirikhan, Turkey, on February 10.
Piroschka van de Wouw/Reuters
A rescuer shows a hole where he was speaking to Kahraman while she was still under the debris on February 9.
IHA via AP
Destruction is seen in the city center of Kahramanmaras on February 9.
Ronen Zvulun/Reuters
Rescuers move a 14-year-old girl from under some rubble in Kahramanmaras on February 9.
Mehmet Kacmaz/Getty Images
Firefighter Erhan Sarac and other rescue team members celebrate after a successful evacuation in Elbistan, Turkey, on February 9.
Petros Giannakouris/AP
Mehmet Nasir Duran sits on a chair as heavy machines remove debris from a building where five of his family members were trapped in Nurdagi, Turkey, on February 9.
Francisco Seco/AP
People stand next to the dead bodies of earthquake victims in Elbistan on February 9.
Francisco Seco/AP
A man, center, reacts after rescue team members removed the dead body of his father in Elbistan.
Kemal Aslan/Reuters
Members of search-and-rescue teams work at the site of a collapsed building in Hatay on February 9.
IHA via AP
Destruction is seen in the center of Hatay on February 9.
Hussein Malla/AP
A couple mourns the loss of their daughter as her body is transferred to Syria from the Turkish crossing point of Cilvegozu on February 9.
Cemal Yurttas/dia images via Getty Images
A bird pulled from the rubble in Hatay is given water on February 9.
Muhammed Said/Anadolu Agency/Getty Images
Search-and-rescue efforts continue in Aleppo on February 8.
Umit Bektas/Reuters
Abdulalim Muaini lies under the rubble next to the body of his wife, Esra, in Hatay on February 8. Reuters reported that he was pulled out of the rubble later and survived. His children also died.
Bulent Kilic/AFP/Getty Images
Rescuers carry a man who was stuck in the rubble for two days in Hatay.
Burak Kara/Getty Images
Rescue workers carry 8-year-old survivor Yigit Cakmak from the site of a collapsed building in Hatay on February 8. It was more than 50 hours after the earthquake struck. The boy was passed from rescuer to rescuer until he was finally in the arms of his mother who was waiting at the site.
Ronen Zvulun/Reuters
People work at the site of a collapsed building in Kahramanmaras on February 8.
Khalil Hamra/AP
Volunteers distribute aid to people in Antakya on February 8.
Guglielmo Mangiapane/Reuters
A firefighter works at the Turkish port of Iskenderun, where a fire broke out in the aftermath of the quake.
Murat Sengul/Anadolu Agency via Getty Images
Mahmut Salman, 16, is rescued in Hatay on February 8.
Ozan Kose/AFP/Getty Images
A person walks among tents in Kahramanmaras on February 8.
Hussein Malla/AP
The foot of a dead child is seen under a destroyed building in Kahramanmaras on February 8.
Kamran Jebreili/AP
A firefighter searches for people in the rubble of a destroyed building in Gaziantep on February 8.
Murat Sengul/Anadolu Agency/Getty Images
Search-and-rescue teams carry 2-year-old Vafe Sabha, who was pulled from rubble along with her mother in Hatay on February 8.
Kemal Aslan/Reuters
Volunteers share an emotional moment as they take part in a rescue operation in Hatay on February 8.
Murat Sengul/Anadolu Agency/Getty Images
Search-and-rescue efforts continue in Hatay on February 7.
Adem Altan/AFP/Getty Images
Mesut Hancer holds the hand of his 15-year-old daughter Irmak, who died in Kahramanmaras.
Burak Kara/Getty Images
Smoke billows from the port in Iskenderun as emergency workers continue rescue efforts on February 7.
Umit Bektas/Reuters
Two people embrace near the rubble of a collapsed building in Hatay on February 7.
Francisco Seco/AP
Emergency workers search for people in a destroyed building in Adana, Turkey, on February 7.
Ghaith Alsayed/AP
A baby girl who was reportedly rescued from the rubble of her family's home receives treatment at a hospital in Afrin, Syria, on February 7. Her umbilical cord was still attached to her mother when she was found, a relative told Agence France-Presse. Her mother is believed to have died after giving birth.
Rami Al Sayed/AFP/Getty Images
People in the Syrian village of Hajji Iskandar mourn over the bodies of a family and close neighbors who were killed in the quake.
Burak Kara/Getty Images
People wait for news of their loved ones, who were believed to be trapped under a collapsed building in Hatay on February 7.
IHA via AP
Destruction is seen in Hatay's city center on February 7.
Ercin Erturk/Anadolu Agency via Getty Images
Police carry a child who was rescued from rubble in Hatay on February 7.
Khalil Ashawi/Reuters
A man reacts in Jandaris on February 7.
Sercan Kucuksahin/Anadolu Agency/Getty Images
Search-and-rescue efforts continue through cold weather conditions in Malatya, Turkey, on February 7.
Umit Bektas/Reuters
A woman mourns for a dead relative in Turkey's Hatay province on February 7.
Omar Sanadiki/AP
People try to identify the bodies of victims outside a hospital in Aleppo on February 6.
Dilara Senkaya/Reuters
A rescue team works at a collapsed building in Osmaniye, Turkey, on February 6.
Umit Bektas/Reuters
A child looks out from a bus where people were sleeping in Antakya on February 6.
Cagla Gurdogan/Reuters
People gather around a bonfire in Kahramanmaras.
Hakan Burak Altunoz/Anadolu Agency via Getty Images
Search-and-rescue personnel work at a collapsed building in Malatya on February 6.
Rami al Sayed/AFP/Getty Images
Residents rescue an injured girl from the rubble of a collapsed building in Jandaris on February 6.
Umit Bektas/Reuters
Rescuers work in Antakya on February 6.
Bakr Alkasem/AFP/Getty Images
A man weeps as he carries the body of his infant son who was killed in Jandaris.
Ercin Erturk/Anadolu Agency/Getty Images
This aerial photo shows damage in Hatay on February 6.
Murat Sengul/Anadolu Agency via Getty Images
A fire burns near overturned containers in Hatay.
Sertac Kayar/Reuters
People wait as rescue operations take place in Diyarbakir on February 6.
Khalil Hamra/AP
People search a destroyed building in Adana on February 6.
Oguz Yeter/Anadolu Agency via Getty Images
This aerial photo shows a damaged building in Adana.
Aaref Watad/AFP/Getty Images
Quake victims are treated in the emergency ward of the Bab al-Hawa hospital in Syria's Idlib province.
Sezgin Pancar/Anadolu Agency/Getty Images
A person climbs through the rubble of a collapsed building in Hatay.
Ilyas Akengin/AFP/Getty Images
A man reacts as people search for survivors in Diyarbakir.
Adsiz Gunebakan/Anadolu Agency/Getty Images
A person is rescued from a destroyed building in Gaziantep.
Omar Haj Kadour/AFP/Getty Images
Residents search through collapsed buildings in the Syrian village of Besnia.
Eren Bozkurt/Anadolu Agency/Getty Images
A building is destroyed in Adana.
Can Erok/AFP/Getty Images
A woman reacts as rescuers search for survivors in Adana.
Anas Alkharboutli/dpa/picture alliance/Getty Images
Civilians and members of the Syria Civil Defense try to save people trapped beneath a destroyed building in Idlib.
Mehmet Akif Parlak/Anadolu Agency/Getty Images
The quake damaged Turkey's Gaziantep Castle.
Aydin Arik/Anadolu Agency/Getty Images
Search-and-rescue efforts continue at the site of a destroyed building in Diyarbakir.
Aydin Arik//Anadolu/Anadolu Agency/Getty Images
A cat is tended to after being rescued from the rubble in Diyarbakir.
Omer Yasin Ergin/Anadolu Agency/Getty Images
Emergency workers rescue a child from a collapsed building in Diyarbakir.
Sertac Kayar/Reuters
People work through the rubble of a collapsed building in Diyarbakir.
Ilyas Akengin/AFP/Getty Images
People search for survivors in Diyarbakir.
Bakr Alkasem/AFP/Getty Images
Members of the Syria Civil Defense, aka the White Helmets, retrieve an injured man from the rubble of a collapsed building in Azaz, Syria.
Omer Yasin Ergin/Anadolu Agency/Getty Images
People search a destroyed building in Diyarbakir.
Omer Yildiz/Anadolu Agency/Getty Images
People look on at the site of a destroyed building in Adana.
Omar Haj Kadour/AFP/Getty Images
People search under the rubble of a building that collapsed in Azmarin, Syria.
Mustafa Bathis/Anadolu Agency/Getty Images
People warm themselves outside of earthquake-affected areas in Aleppo on February 6.
Volkan Kasik/Anadolu Agency/Getty Images
The historic Yeni Mosque is damaged in Malatya.
Omer Yasin Ergin/Anadolu Agency/Getty Images
People search through rubble at a destroyed building in Diyarbakir.

But Aziz Karabekmez, a 68-year-old retired electrician, denounced the government’s efforts and accused the state of “taking money from us for nothing.”

“The country is prone to earthquakes, they should be protecting our neighborhoods,” Karabekmez said. “The people in the front line sifting through the rubble are the Kazakhs and foreign volunteers, not the Turks. They don’t know how to do work. Why?”

Likewise, 70-year-old retired engineer Mehmet Ali Karabekmez, also shared his frustration, saying “they swallow our money.”

Karabekmez added: “If there was a benefit to the money they take from us, would we be in this position? The work from the Turkish officials has been very slow. Every time a building shakes a bit, you see them run away. They have no experience.”

Widespread destruction sparks questions

More than 5,700 buildings in Turkey have collapsed, according to the country’s disaster agency. With so much damage, both in Turkey and neighboring Syria, many are starting to ask about the role that building infrastructure might have played in the tragedy.

“The thing that strikes mostly are the type of collapses – what we call the pancake collapse – which is the type of collapse that we engineers don’t like to see,” said Mustafa Erdik, a professor of earthquake engineering at Bogazici University in Istanbul. “In such collapses, it’s difficult – as you can see – and a very tragic to save lives. It makes the operation of the search and rescue teams very difficult.”

Erdik told CNN the images of extensive ruins in the quake’s aftermath indicated “that there are highly variable qualities of designs and construction.” He said that the type of post-earthquake structural failures are usually partial collapses. “Total collapses are something you always try to avoid both in codes and the actual design,” he added.

USGS structural engineer Kishor Jaiswal told CNN Tuesday that Turkey has experienced significant earthquakes in the past, including a quake in 1999 which left thousands dead.

Jaiswal said many parts of Turkey have been designated as very high seismic hazard zones and, as such, building regulations in the region mean construction projects should withstand these types of events and in most cases avoid catastrophic collapses – if done properly.

View this interactive content on CNN.com

But not all buildings have been built according to the modern Turkish seismic standard, Jaiswal said. Deficiencies in the design and construction, especially in older buildings, mean that many buildings could not handle the severity of the shocks.

“If you are not designing these structures for the seismic intensity that they may face in their design life, these structures may not perform well,” said Jaiswal.

Erdik also said he believed many of the buildings that have collapsed were likely “built pre-1999.” He added there also would have been instances where some buildings didn’t conform to code.

“The codes are very modern in Turkey, very similar to US codes. But again, the codes conformity is an issue that we’ve tried to tackle with legal and administrative procedures. We have the permits from municipalities and controls for design, controls for construction. But then again, there are things that are lacking.”

CNN’s Hande Atay Alam and Brian Fung also contributed to this report.