It is not in Vietnam's interests to host foreign troops, much less US troops.It’s probably gonna function as a “trip wire”, like the force in West Berlin during the Cold War. any attack by China in Vietnam, putting at risk the foreign forces there, will trigger a response.
Vietnam probably requested this and the US obliged because it fit the interests of both nations.