'If they do it, it's going to happen again,’ president says, referencing US airstrikes on Iran’s nuclear facilities that took place last June