The authorities said an attempt to steal copper gas pipes ultimately led to the massive explosion last month, which killed six people.