US Defense Secretary Pete Hegseth has faced withering questioning from Democrats in Congress about the Iran conflict.