Oil futures gained nearly 2% on Friday as comments from a top U.S. official raised optimism for a U.S.-China trade deal, but worries…