What are the risks of turning energy sites into battlefields?

Oil and gas facilities in the Gulf have been attacked since early in the war on Iran.