Investigators say the shooting occurred Thursday after South Gate officers tried to stop a Lexus for a traffic violation.