Because that's really tricky to do without reducing the town to just tourism. Some people forget that in tourist towns there are also people who live, who have families and friends and some of their activities look very much like tourism.
Sure, you can try to do all kinds of things to work around this but ultimately the solution of taxing tourists does not work well in practice.