First of all, it helps preserve the culture that exists in said country. It’s not uncommon for foreign traveler to overwhelm and kill the local cultures with their own. Which of course, makes the place you visit lose its charm, and in turn it ruins the experience for you and everyone else visiting.
Second thing is that responsible travel supports the locals. By doing things such as respecting their culture and learning their languages, you helped them keep their traditions exist and letting them know that their tradition and cultures are appreciated by travelers like you.