There’s more to the quarantine flag, as it’s not binary on/off, and app translocation can trap even notarized applications if you don’t move them right.
com.apple.quarantine
Quarantine flags first appeared in 2007. This explains how they work, what they do, and the differences between app and document quarantine.
Most quarantine flags in your Mac aren’t on apps but documents. Details of how they’re added, what info they contain, and what they do.