If you follow the various TripAdvisor forums that cover the Quintana Roo tourist areas, you will see many, many posters telling new visitors they will be absolutely safe if they don’t venture out of the tourist zones, don’t get involved with drugs, etc, etc…
What these “advisors” fail to realize is that most of the cartel activities - eg. Shaking down business owners, enforcing their territory, and punishing businesses when they do not comply - take place in the tourist zones. That is where the $$$ is.
So the odds of being caught-up in these shootings are slim, but it is still a risk…