There seems to have been a culture of negligence, the combined negligence of a number of people caused the tragedy. A lot of things went wrong and a lot of people contributed to the tragedy.

There was a fire because someone installed faulty wiring or someone damaged the wiring after it was installed. This was part of the cause, but this alone should not have caused a tragedy.

Child care centres are required to be on the ground floor so that kids can be evacuated safety - this is written in to building codes but is routinely ignored in the Middle East. I've seen several on upper floors, perhaps operators build these facilities without getting the proper building permits.

The sprinkler system failed to operate. Someone is at fault here for installing it incorrectly or failing to maintain it or turning it off.

And finally stairs collapsed - it's not clear why, maybe inadequate design or construction.