The motive for the shooting was not immediately clear.