The fire that gutted the building might have been caused by illegal electricity connections, officials said