I think some of this resentment is entirely misplaced, and other parts are misdirected. The central problem is a failure to recognise that tourism is an export industry. Your country exports things like cars or T-shirts or coffee beans to people in other countries in exchange for tokens (dollars, Euros, etc) that you can use to buy things they make. Tourism is where you sell foreigners things that can't be moved around the world; things that they have to come to your country to consume, like views of your beautiful coastline, authentic cuisine, and the famous paintings in your museums. The fact that cars and T-shirts tend to get made inside large ugly buildings on the outside of town while tourism exports are produced in the prettiest parts of the centre is irrelevant. The things that tourists buy are still exports.