Most likely hunting and butchering. As Africa was colonized, guns became available for hunting, and the demand for infant chimpanzees for pets and zoos etc increased. Adult chimps were often shot to capture the infants. Humans have probably killed chimps occasionally for hundreds of thousands of years, but this would have increased dramatically in the past century or two. It is thought that other changes in human behavior, such as modern needles to inject vaccines, antibiotics, medicine, could have caused more human-to-human transfers which aided the virus adaptation to human host.
Muhammad Ghafoor Ali it will be always an assumption how exactly SIV-strains, at least SIVrcm and SIVgsn/mon/mus line, but likely more than 4 different SIVs , mixed to create an SIVcpz, which initial genetic constitution ( probably around 1930) was not compatible for efficient transmission to humans. Despite of partially present genetic barrier (but decreased in comparation to SIVrcm and SIVgsn, SIVmon, SIVmus , which definitely was not to transmit in humans) , SIVcpz managed somehow to infect initially the first human, highly likely during hunting chimps for "bush meat". This transmission and than adptation resulted finally in HIV-1. SIV cpz were passed from P.troglodytes troglodytes to gorillas in which probably SIVgor evolved. From SIVcpz , the main group responsible for pandemic, HIV-M evolved, but also HIV-1 group N. From SIVgor the HIV-1 groups O and P evolved. No one, but only M-group caused HIV-1 global dissemination (pandemic). HIV-2 (group A till I) evolved from SVsmm. Many details are not understood.