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 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
&& bin/magento set:up