Paying taxes need not have any legal connection to citizenship or potential citizenship. There is no constitutional provision, or law, which limits taxation to citizens or those on a path to citizenship. Legal immigrants, those on visas, and indeed tourists, must all pay various taxes, including hotel taxes and sales taxes. Lawful immigrants who work in the US must pay federal and (in most states) state income tax, and I believe some undocumented immigrants pay Federal income tax as well.
Many countries tax people who are not citizens, nor immigrants in line for citizenship, and this has been true far back in history. Indeed the Romans taxed pretty much every inhabitant of and visitor to the Roman Empire, most of whom were not Roman Citizens. Things haven't changed that much since.
It might be argued on philosophical grounds that such people should not be required to pay taxes, or should not be required to pay certain specific taxes. But that is not the law at this time, and this forum is not for debating what the law should be.