Complex sentence: Ghazi title is given due to an honour for fighting for Islam, defending muslims; so they called with this distinction as a title in their names.
Split into simpler sentences: Ghazi title is an indication due to given by fighting for Islam or defending the muslims, and this title is given for this honour. Therefore, the people called with this distinction with a title in their names.