Coevolution
The single factor which most causes this high number of species is phytophagy: the huge number of insect species, each eating one or a few plant species. And what insects do, so do fungi, nematodes, mites and other invertebrates.