Delawarean here! Having spent some time as a writer/reporter learning about the Delaware incorporation process, I've found that this is one of the biggest reasons why companies/investors continue to prefer Delaware.
Wyoming and Nevada are also known as business-friendly states in which to incorporate, but no other state has the wealth of case law that Delaware has.
Here's one example of the difference between CA and DE: California, as a baseline, generally requires class votes on amendments to charters. Delaware, as a baseline, generally requires only a majority of all capital stock to vote in favor of an amendment to the charter. This means that in California, the holders of common stock (or the holders of a prior venture round stock) could potentially block a future round of financing, which most VCs would say is not a great result.
Delaware is NOT the cheapest, but it is extremely flexible (both legally speaking and administratively speaking - there are very few states where you can pay a premium and find someone to come in on a holiday/weekend to file your restated charter to close a big deal), and it has a very well-established body of law. That means everyone knows what to expect. Think of it like a really great WYSIWYG editor, whereas other states' laws can be like coding a site in a brand new alpha release programming language.