An official said the US carried out the strikes, following months of threats by President Donald Trump