There are plenty of reasons to use a different resolve on app vs OS level, not only for malware or "broken" applications.
The DNS setting by the OS, just like the proxy settings, is a first suggestion on how to connect.
Chrome will contact 8.8.8.8 in certain circumstances and Firefox has DoH. Both can set proxy settings different from system via various means.