Investigators are focusing on potential gang-related revenge or racial motivations after ruling out terrorism in the shooting.