The InstalData approach is not a prefered way to modify data in 2022.

I'd recommend checking out the current approach with Data Patches. Check DevDocs at [DataPatches][1] page for more info.

Anyway, about your question. InstallData is only triggered when you first install the module. Workaround to make Magento process InstallData is to delete the record with your module's name from the database table - `setup_data`


  [1]: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/declarative-schema/data-patches.html