NEW YORK — A secret spacecraft launched by a SpaceX rocket on Sunday failed to reach orbit and was lost.

The spacecraft, called Zuma, launched at 8 p.m. Sunday from Cape Canaveral Air Force Station in Florida aboard a SpaceX Falcon 9 rocket.

But the spacecraft apparently did not separate as it was supposed to from the upper stage of the rocket and did not reach a stable orbit, according to a U.S. administration official and two sources who were briefed on the matter. The sources would not confirm what exactly the payload was, saying it was classified.

The mission itself was shrouded in secrecy even before it failed to reach orbit. The government agency that ordered the spacecraft has not been disclosed. Northrop Grumman, the aerospace and defense company that built the Zuma spacecraft, would only say: “This is a classified program. We cannot comment on classified programs.” SpaceX has also declined to give details about the spacecraft.

It was not immediately clear if the failure of this mission was due to problems with the SpaceX rocket, or with the Zuma spacecraft. SpaceX issued a statement Tuesday suggesting that its rocket performed as designed.

“After review of all data to date, Falcon 9 did everything correctly on Sunday night,” said the statement from Gwynne Shotwell, president and chief operating officer of SpaceX. “If we or others find otherwise based on further review, we will report it immediately. Information published that is contrary to this statement is categorically false. Due to the classified nature of the payload, no further comment is possible.”

Because of Zuma’s secrecy, SpaceX didn’t live stream the entire mission as it typically does. But it did show both the launch and the landing of the first stage of the Falcon 9 rocket back at Cape Canaveral.

This is not the first time a SpaceX rocket has lost a payload. On Sept. 1, 2016, a SpaceX Falcon 9 rocket exploded while preparing to test fire its engines, destroying the Amos 6 communications satellite atop the rocket that was to be used by Facebook. Additionally, a SpaceX rocket carrying supply missions to the International Space Station for NASA exploded in 2015. However, the company has completed more than 10 successful supply missions to ISS.

The loss of a government payload comes at a bad time for SpaceX, which was founded by Elon Musk, who is CEO of both the privately-held rocket company and electric car maker Tesla.

It has been competing with other private companies to launch more military payloads. And it plans to carry its first astronauts into space in its Dragon space capsule later this year. Since the last Space Shuttle flight in 2011, NASA has relied upon the Russian space agency to carry U.S. astronauts to the ISS.

Copyright 2018 by Cable News Network, Inc., a Time Warner Company. All rights reserved.