Drug cartel gunmen also attacked a funeral convoy of cars accompanying the body of one of the victims in the first attack, officials said.