Animal agriculture is in charge of plenty of this, it is not even close to the only culprit.
The Global Union for Conservation of Nature in Switzerland, the world’s very very very first global ecological organization, states:
Analyses for the information on threats to bird, mammal and amphibian species show that is the absolute most pervasive risk which they face is habitat destruction and degradation driven by agricultural and forestry tasks.
Solely arable farmers unintentionally destroy insects, snails, tiny animals, as well as other pets with farm equipment, and additionally they intentionally kill these pets with pesticides very often inadvertently carry on to damage wildlife through drift and additional poisonings. Farmers additionally allow hunters onto their land to lessen the populations of deer as well as other ‘pest’ species that may consume their plants. Redirecting water for irrigation kills fish, as does spill-off from fertiliser and pesticides.