In many popular destinations, local residents complain about visitors who dress inappropriately in places of worship or behave loudly where quiet is expected. Such behaviour usually stems from a lack of knowledge and a carefree holiday attitude, and I believe it can be reduced mainly by giving tourists better information, supported by firmer rules where necessary.
The most common cause is simple ignorance. Many travellers do not research the customs of the country they visit, so they genuinely do not realise that they should cover their shoulders in a temple or remove their shoes before entering someone's home. What is normal on a beach at home may cause offence in a small town in another culture. A second cause is the holiday mindset. Some people feel that ordinary standards no longer apply when they are on holiday, especially in large groups or after drinking alcohol, and they forget that the streets they are enjoying are other people's neighbourhoods.
The most effective solution is to provide clear guidance before and during the trip. Travel agents, airlines and booking websites could send visitors a short, friendly summary of local customs along with their tickets, and hotels could display the same advice in rooms. At popular religious sites, signs with simple pictures showing appropriate dress, together with scarves available to borrow at the entrance, make it easy for tourists to comply. In cases of serious or repeated misbehaviour, such as damaging monuments, local authorities should be willing to issue fines, as this demonstrates that the rules are taken seriously.
To conclude, most tourists who offend local people do so through ignorance or a relaxed attitude rather than deliberate disrespect. Clear, accessible information, backed by sensible penalties for the worst offences, would help visitors and residents to enjoy a more respectful relationship.