Though it's hard to decide if you really shoot the elephants since, at least in india, the humans are guilty for a big part. They take away land from the elephants constantly so that they have less and less space. It leads to elephants going wild and there was even a case described where an elephant started to eat humans.
You can't compare Indian elephants with African elephants. The Indian elephant is an endangered species, and it is threatened with extinction (due to the rampant poaching for ivory). On the other hand, the African elephant is being described as a species which is in "no perceivable danger". In Africa, it is the elephant which is endangering the other species.