Most Muslim countries don't have those laws. Even Indonesia, within the the territory of Aceh, which has its own shariah, doesn't cut off hands or cut off adulterers heads.
Your statement is the equivalent of asking why Christian nations have such a huge problem with school shootings, when really it's just USA that has this problem. By being too general and painting too broad a brush you not only look ignorant, you also look like an idiot and a dick. In America they will have someone ride the lightning despite being innocent for no reason except his race. Hell, we can place the blame on the destruction of entire countries like Afghanistan and Iraq on USA, yet Americans seem to live with it. It's almost as if humans are inherently flawed.