It is obvious that Trump is going out of his way to praise Pakistan. He doesn't have to but he is. Perhaps his attempt to force India to accept trade deals / weapons purchases is the real reason but no denying that since his speech to the US Congress some months ago, American companies showing interest in Pakistan's mineral sector, and the US Involvement in The 100 Hours War, there is a change in the American stance toward Pakistan, at least as of now.
There is a reason Trump has become so hated in India these days.