Defense Secretary Pete Hegseth has attacked media for questioning the efficacy of US bombing following leaked report.