The Holy Quran says that it was the Muslims themselves. It was because of their mistake. We have made mistakes in certain cases and we have failed to fulfill our responsibilities in certain cases, otherwise "Allah has power over all things".
Mun yi kuskure a wasu wajajen "Lalle ne, Allah, a kan dukan kome, Mai ikon yi ne(7)" - a wani wajen kuma ba mu yi abin da ya dace mu yi ba ne; a wani wajen kuma irin sanya idon da ya kamata mu yi ba mu yi ba; hakan ne suke haifar da matsaloli, wajibi ne mu lura da wadannan abubuwan.