If you read the translation of the Holy Quran, you will understand the reason why there are so many Muslim terrorists. For example, if you read this chapter of the Qur'an, which I have linked here, you will see that Allah has repeatedly ordered to fight with polytheists and people of the book (Christians and Jews) (exactly verse 28).
https://quran.com/en/at-tawbah