The US president says Washington will respond after two suspected Iranian drones struck its diplomatic compound.