But he said by holding violent demonstrations that have killed 18 people , Muslims have missed an opportunity to build better ties with the West .