The incident occurred as President Donald Trump and other senior officials were inside the building dealing with the unfolding situation in Iran.