I don't doubt that. But that still does not mean that being a Muslim has anything to do with it. In fact, even if it turns out that all of the attackers were Muslims then that still holds true. How that works I'll leave as an exercise for you to work out but let's just say that the basis of a solution to this whole problem is somewhere in there and that I strongly believe that it starts with a complete lack of generalizations and a focus on people as individuals rather than as groups with shared traits. As long as that step isn't taken we will - very unfortunately - probably see more of this.