The officer had stopped to investigate a Jeep stopped in the middle of the street, officials said.