Terrorist groups embedded into society around them may tailor tactics to avoid alienating local communities