Pipelines can be protected. Just putting it in the ground for example. Or you build a "bomb" proof shelter over it - Iran's missiles are not bunker busters, we know how powerful they are and can design for that. Air defense systems are getting better too.