President Trump on Friday denied that the US had anything to do with a failed Iranian rocket launch — and he wished Tehran luck at finding out what went wrong.

“The United States of America was not involved in the catastrophic accident during final launch preparations for the Safir SLV Launch at Semnan Launch Site One in Iran,” Trump said on Twitter.

The rocket exploded on its launch pad at a space center in northern Iran on Thursday, Iranian officials said.

A US official said the explosion likely occurred during fueling operations.

A commercial satellite image showed smoke rising from the launch pad.

The image was provided to CNN by Planet Labs Inc. and the Middlebury Institute of International Studies.

“Today’s image shows that they attempted to launch a satellite from their smaller launch pad, and that it failed,” Dave Schmerler, a senior research associate at the institute, told the cable network.