At least in regard to Grenfell itself, the cladding used was illegal on buildings that high.  How exactly it ended up being installed has yet to be full explained, but at a minimum the contractor and the government inspectors must have screwed up.