You got your responses from other people already but to sumarize the main reason that they are leaving is that the judge's retarded ruling meant that shareholder's votes are now worthless in Delaware. No matter what happens someone with a single share can come in and using that ruling as precedent undo a vote by the other 99.999999% of shares. It basically means shareholders can't own and operate companies as they wish and instead the state of Delaware is the one who has the final say on how it is run.
Needless to say no one wants this. All of Elon's companies already left. Microsoft is leaving and should be gone. TripAdvisor actually had the shareholders revolt that they need to leave Delaware NOW and the management was taking too long to GTFO.
Delaware had something like 1/3rd of all it's revenue come from taxes they got from corporations, so that is now pretty much gone. Except it is worse because those corporations also had HQs in Delaware that needed people there and offices, and those offices had lawyers nearby to come and help from time to time and of course office drones don't run on sunlight and air so there were all sorts of food and office supplies and so on that were there to support them. There is a entire town in Delaware which was basically one huge office complex, to the point that outside of the business hours the entire place went deserted. That is now going to be over.
In a effort to own Elon, Delaware killed the goose that laid golden eggs. Something like half of all their tax revenue is gone, and never coming back.