A family of Microsoft word processing software products for creating web, email, and print documents.
This is a software design issue which cannot be changed at the user level. Go to Help> Feedback in the menu bar & submit your comments to Microsoft. You won't get a personal reply & don't expect an immediate change but responsible Feedback is taken seriously. The greater the demand from users the more likely the matter will be addressed.
A word of advice: Do not edit Office documents stored on iCloud or any cloud server other than OneDrive/SharePoint. Those devices are not designed to meet the requirements of Office document files. You may be able to get away with it for a while but sooner or later you will lose content and/or incur file corruption.
Move the files to the local drive for editing then move them back once they are saved & closed. The clouds are fine for storage, just not for editing.