A Russian robotic spacecraft that was headed to the lunar surface has crashed into the moon, Russia’s space agency said on Sunday, citing the results of a preliminary investigation a day after it lost contact with the vehicle.

It is the latest setback in spaceflight for a country that during the Cold War became the first nation, as the Soviet Union, to put a satellite, a man and then a woman in orbit.

The Luna-25 lander, Russia’s first space launch to the moon’s surface since the 1970s, entered lunar orbit last Wednesday and was supposed to land as early as Monday. On Saturday afternoon Moscow time, according to Roscosmos, the Russian space agency, the spacecraft received orders to enter an orbit that would set it up for a lunar landing. But an unexplained “emergency situation” occurred, and the orbital adjustment did not occur.

On Sunday, Roscosmos said that measures to find and re-establish contact with the craft had failed, and that it calculated the failure of the adjustment meant that Luna-25 had deviated from its planned orbit and “ceased its existence as a result of a collision with the lunar surface.”

An interagency commission would be formed to investigate the reasons for the failure, it added.

Luna-25, which launched on Aug. 11, was aiming to be the first mission to reach the moon’s south polar region. Government space programs and private companies all over Earth are interested in that part of the moon because they believe it may contain water ice that could be used by astronauts for future space missions.

Another country, India, will now get the chance to land the first probe in the lunar south pole’s vicinity. Its Chandrayaan-3 mission launched in July, but it opted for a more roundabout but fuel-efficient route to the moon. It is scheduled to attempt a landing on Wednesday.

That India may succeed after Russia failed would be a blow to President Vladimir V. Putin, who has used Russian achievements in space as part and parcel of his hold on power.

That is part of the Kremlin’s narrative — a compelling one for many Russians — that Russia is a great nation held back by an American-led West that is jealous of and threatened by Russia’s capabilities. The country’s state-run space industry in particular has been a valuable tool as Russia works to remake its geopolitical relationships.

“The interest in our proposals is very high,” the head of Russia’s space program, Yuri Borisov, told Mr. Putin in a televised meeting in June, describing Russia’s plan to expand space cooperation with African countries. The initiative is part of the Kremlin’s overall efforts to deepen economic and political ties with non-Western countries amid European and American sanctions.

Interest in the Luna-25 mission within Russia itself appeared muted. The flight lifted off from a remote spaceport in Vostochny in the country’s Far East at an hour when most Russians, who live in the country’s west, were probably sleeping. The mission’s progress toward the moon was not a major subject in state media.

In recent decades, Russia’s exploration of Earth’s solar system has fallen a long way from the heights of the Soviet era.

The last unqualified success was more than 35 years ago, when the Soviet Union was still intact. A pair of twin spacecraft, Vega 1 and Vega 2, launched six days apart. Six months later, the two spacecraft flew past Venus, each dropping a capsule that contained a lander that successfully set down on the hellish planet’s surface, as well as a balloon that, when released, floated through the atmosphere. In March 1986, the two spacecraft then passed within about 5,000 miles of Halley’s comet, taking pictures and studying the dust and gas from the comet’s nucleus.

Subsequent missions to Mars that launched in 1988 and 1996 failed.

The embarrassing nadir came in 2011 with Phobos-Grunt, which was supposed to land on Phobos, the larger of Mars’ two moons, and bring back samples of rock and dirt to Earth. But Phobos-Grunt never made it out of Earth’s orbit after the engines that were to send it to Mars did not fire. A few months later, it burned up in Earth’s atmosphere.

An investigation later revealed that Russia’s financially strapped space agency had skimped on manufacturing and testing, using electronics components that had not been proven to survive the cold and radiation of space.

Otherwise, Russia has been confined to low-Earth orbit, including carrying astronauts to and from the International Space Station, which it jointly manages with NASA.

Luna-25 was to have completed a one-year mission studying the composition of the lunar surface. It was also supposed to have demonstrated technologies that would have been used in a series of robotic missions that Russia plans to launch to the moon to lay the groundwork for a future lunar base that it is planning to build with China.

But the schedule for those missions — Luna 26, 27 and 28 — has already slipped years from the original timetable, and now there are likely to be further delays, especially as the Russian space program struggles, financially and technologically, because of sanctions imposed after Russia’s invasion of Ukraine.

Although NASA and the European Space Agency continue to cooperate with Russia on the International Space Station, other joint space projects ended after the invasion of Ukraine. For the lunar missions, that means Russia needs to replace key components that were to come from Europe, including a drill for the Luna-27 lander.

Russia has struggled to develop new space hardware, especially electronics that reliably work in the harsh conditions of outer space.

“You cannot really fly in space, or, at least, fly in space for a long time, without better electronics,” said Anatoly Zak, who publishes RussianSpaceWeb.com, which tracks Russia’s space activities. “The Soviet electronics were always backwards. They were always behind the West in this area of science and technology.”

He added: “The entire Russian space program is actually affected by this issue.”

Other ambitious Russian space plans are also behind schedule and will likely take much longer than the official pronouncements to complete.

Angara, a family of rockets that has been in development for two decades, has only launched six times.

A few days ago, Vladimir Kozhevnikov, the chief designer for Russia’s next space station, told the Interfax news agency that Oryol, a modern replacement for the venerable Soyuz capsule, would make its maiden flight in 2028.

Back in 2020, Dmitry Rogozin, then the head of Roscosmos, said that the maiden flight of Oryol would take place in 2023 — meaning that, in just three years, the launch date has slipped five years.

Landing on the moon is treacherous, and China is the only country to do so successfully this century — three times, most recently in December 2020. Three other missions have crash-landed in recent years, most recently an attempt by Ispace, a Japanese company. Its Hakuto-R Mission 1 lander crashed in April when a software glitch led the vehicle to misjudge its altitude.