Trump took aim at the trade deficit with China as the House passed a spending bill to fund the government.