Read: What you need to know about the coronavirus

Though some elements of the breakdown are by now understood, the full extent of the difficulties laboratory directors have faced has remained largely opaque. Interviews with laboratory directors and public-health experts reveal a Fyre Festival–like cascade of problems that have led to a dearth of tests at a time when America desperately needs them. The issues began with onerous requirements for the labs that make the tests, continued because of arcane hurdles that prevented researchers from getting the right supplies, and extended to a White House that seemed to lack cohesion in the pandemic’s early days. Getting out lots of tests for a new disease is a major logistical and scientific challenge, but it can be pulled off with the help of highly efficient, effective government leadership. In this case, such leadership didn’t appear to exist.

Here are the four main reasons the testing issues have been so bad:

Red Tape

The Food and Drug Administration has a protocol called emergency use authorization, or EUA, through which it clears tests from labs around the country for use in an outbreak. Getting more of these tests up and running would greatly increase the capacity of doctors and public-health officials to screen patients for the coronavirus.

Former FDA officials I spoke with said that during past outbreaks, EUAs could be granted in just a couple of days. But this time, the requirements for getting an EUA were so complicated that it would have taken weeks to receive one, says Alex Greninger, the assistant director of the virology division at the University of Washington Medical Center, which is located right near the heart of the American outbreak. Greninger told me clinical labs were not allowed to begin testing at all before they had received the EUA, even if they had already internally made sure their tests worked. Though these regulations are in place to ensure that faulty lab tests don’t get used on patients, several microbiologists told me they felt the precautions were excessive for a fast-moving outbreak of this scale. “The speed of this virus versus the speed of the FDA and the EUA process is mismatched,” he said.

Read: What will you do if you start coughing?

On February 28, Greninger and dozens of other clinical microbiologists wrote a letter to Congress complaining that the EUA process was slowing down the ability of their labs to deploy coronavirus tests. “Many of our clinical laboratories have already validated [tests] that we could begin testing with tomorrow, but cannot due [to] the FDA EUA process,” they wrote. The following day, the FDA changed the EUA process so that labs like Greninger’s could begin testing—they would just have to submit data for the FDA’s authorization two weeks later. But weeks had already passed during which many labs and hospitals were unable to use their tests.