Iran on Monday acknowledged a rocket explosion at its space center and blamed a technical malfunction for the incident, the Associated Press reported.

Satellite photos had originally shown the explosion at the Imam Khomeini Space Center last week.

ADVERTISEMENT

President Trump Donald John TrumpFederal prosecutor speaks out, says Barr 'has brought shame' on Justice Dept. Former Pence aide: White House staffers discussed Trump refusing to leave office Progressive group buys domain name of Trump's No. 1 Supreme Court pick MORE was criticized by experts after tweeting out a detailed photo of the site of the failed satellite launch which may have been classified.

Trump denied that the U.S. played any role in Iran’s failed attempt to launch a satellite into space, while appearing to sarcastically wish Tehran “good luck” in determining the cause.

Iranian spokesperson Ali Rabiei slammed Trump for doing so on Monday.

“We don’t understand why the U.S president tweets and posts satellite pictures with excitement. This is not understandable,” he said. “Maybe this is because lack of Iran-related subjects that they raise such issues.”

“The explosion happened at the launchpad and no satellite had yet been transferred to the launchpad,” Rabiei said, according to AP. “It happened at a test site, not at the launch site.”

The explosion marked the third failure involving a rocket at the Iranian center.