The U.S. State Department just issued new guidelines for visitors to Mexico warning them about violence, kidnapping, carjacking, and robbery.
The new warning included several tourist spots like Puerto Escondido and Baja.
Gun battles between rival criminal organizations or with Mexican authorities have taken place on streets and in public places during broad daylight. The Mexican government dedicates substantial resources to protect visitors to major tourist destinations and has engaged in an extensive effort to counter criminal organizations that engage in narcotics trafficking and other unlawful activities throughout Mexico. There is no evidence that criminal organizations have targeted U.S. citizens based on their nationality. Resort areas and tourist destinations in Mexico generally do not see the level of drug-related violence and crime that are reported in the border region or in areas along major trafficking routes.
You can see the full region by region assessment at this link: https://travel.state.gov/content/passports/en/alertswarnings/mexico-travel-warning.html