Sometimes God uses animals and fish to get the attention of rebellious man. For instance, a donkey spoke to Balaam in Numbers chapter 22. A great fish, probably a whale, swallowed up the prophet Johan because he did not want to go to Nineveh. Ravens fed the Prophet Elijah after he ran for Ahab and Jezebel.
Also, if man will not do God’s bidding, he can and will use inanimate objects.
Jesus said in Luke 19:40 ” And he answered and said unto them, I tell you that, if these should hold their peace, the stones would immediately cry out.”
So referencing these scriptures, it is not to far out there to think that God used Pigs, which Muslims hate, to expose them and be the object of their demise!
Herd of Stampeding Wild Boars Kills Three Islamic State Jihadists