Every community has people who fall short of its ideals, and Muslims are no exception. The Quran does not hide this. It asks the believers why they say what they do not do, and says that it is most hateful in the sight of Allah that they say what they do not do. It also rebukes the people of earlier Scripture who told others to be righteous while forgetting themselves. The Prophet ﷺ said that a Muslim is the one from whose tongue and hand other Muslims are safe.
In Islam, worship does not excuse harming people. The Prophet ﷺ once asked his companions who the bankrupt person is. They said it is someone with no money or goods. He said that the bankrupt person from his community is the one who comes on the Day of Judgment with prayer, fasting and charity, but has insulted this person, slandered that one, taken the property of another, shed blood and struck someone. Each of them is given some of his good deeds, and when they run out, some of their sins are thrown on him, and he is thrown into the Fire. So a Muslim who cheats, lies or hurts people is going against his own religion, and a critic is right to say so.
This gives a fair way to judge. To learn what Islam teaches, look at its sources, the Quran and the life of the Prophet ﷺ, and at the Muslims who live up to them, not only at those who do not. It is also worth asking whether a teaching can be judged by its followers at all. If it could, no religion or philosophy would survive the test. If a Muslim has treated you badly, that hurts, and Islam asks him to apologise. But the better question is whether the message itself is true and good, and that you can look at for yourself.