Trump’s warning came a day after his administration froze about $18 billion for two major infrastructure projects