Why has DEI become so prevalent?

The growth of DEI in institutions is often not a result of campaigning from within the institution (though it is sometimes). It is often due to the logic of institutions themselves, e.g. see the growth of DEI in the army or police.