No doubt it is a kind of punishment,Allah says in quran that where ever there is injustice and anarcy privails, then God will send his punishment. It has nothing to do with Muslims or people from other religion. The punishment can be through an earthquake, floods, famin, valcono, tronado, hurrican..... n so on.