The kingdom says it will take “necessary measures” as it reiterates that Iran is to blame.