This article explains how Firefox and the OS certificate database are related. Starting with Firefox 64, an enterprise policy controls the relationship between Firefox trusted roots and OS trusted roots.
https://support.mozilla.org/en-US/kb/setting-certificate-authorities-firefox