Why does Microsoft Word on macOS Tahoe (26.0.1) set a quarantine flag when saving any file?

I’m using the latest version of Microsoft Word (16.102.3) on my MacBook, which is running macOS Tahoe (26.0.1).

When I make updates to a file, and try to save it, it doesn’t give me any error messages, but it also doesn’t actually save the file. After searching around, I found that the extended attribute com.apple.quarantine was turned on for the file:

$ ll -a@ OVERVIEW.docx
-rw-r--r--@ 1 dlw  staff  19630 Jun  9 19:49 OVERVIEW.docx
    com.apple.FinderInfo       32
    com.apple.lastuseddate#PS      16
    com.apple.metadata:kMDLabel_hkcv5t34uy2imf5634cpbogdiu    121
    com.apple.quarantine       29

I closed Word, deleted the quarantine attribute, restarted Word, opened the file back up, made a change, and tried to save the file again. It did not save it, and the quarantine attribute is back on again. I’ve also tried creating a new blank document, and the same thing happens.

I can create a new text file with vi, and it has no problem.

How can I stop Word from setting that attribute when I save the file?

UPDATE:

I just discovered that the quarantine attribute is set as soon as I open the file in Word – it doesn’t wait until I try to save it.

UPDATE #2:
Even weirder, now, even though the quarantine attribute is set, it’s letting me save the file from Word. I was unable to do that yesterday.