Most urban murders are business related, drug business related. Turf wars, attempts to grab cash or drugs in hopes of a quick score or setting accounts for over due payment or perceived personal slights. To outsiders it seems random but to insiders it does not. In some ways it's street justice not crime. To them. To outsiders overseas it must seem like the Wild West fiction but if you don't go into the .000001% of areas which heavy drug trade happens the US is no more unsafe than Africa is from lion attacks.