Well it's been about thirty years since we last stabbed the Kurds in the back. It was probably overdue.
As for a war without end, that's not necessarily the case. The main idea would be that the United States can ensure that the Kurdish areas in Northeast Syria get some sort of federalization...