Good thing nobody got hurt in this mess.
I think that technology is (at least partially) to blame, overreliance on weather routing systems to be precise.
Nowadays, lashing computer systems are connected to weather routing systems - and there's even a special class notation for that, incorporating "changing evaluation methods to allow for the effect of sea routes on stowage, as well as new class notation for vessels with lashing calculation programs" - quote from Class NK.
So, container cargo is taken on board and lashed as per the requirements of the *expected* conditions along the route, and probably not so well suited for any sudden change for the worse.
My .02 $.
Cheers
Vlad