C is syntactically C++ being a subset of C++ and I've seen many programs which claim to be C++ but are actually programmed using C methodologies.
You are directly rewarded for "new" features (i.e. plagiarizing or rewriting old ones and selling them as new).
So I don't think the engineers are particularly talented, and the incentives are not the same as for SQLite.
The reason SQLite can test so thoroughly is that their requirements never change. I have tried to browse the web with SQLite but so far no luck.
Why do we see the version of Chrome reaching 100 at a sustained pace, instead of seeing something like Chrome 8.X or 9.Y?
The pressure is all about introducing new features (and thus, more bugs!) while fixing the existing bugs slowly.
And we should stop thinking that all the brilliant minds are working at FAANG, because it isn't true.
And when talking about C++, since 2011 there are smart pointers to help developers managing memory kind of automatically.
I believe most of the problems are due the people typing on those keyboards such bad code, especially when it comes to "smart" code.
In 2020 we have plenty of tools supporting the developer job (memory sanitizers, static analysis tools, linting, profilers, etc.): The big problem is failing to / ignoring to use such tools.