Bitcoin mixer enhances privacy and resists attacks.
It is up to the laws of each country to determine if gambling is illegal.
Bitcoin in the case of gambling is also just a means to satisfy the desire to gamble and make money. Bitcoin in this case is not considered bad as the dollar or any FIAT is being used for gambling all over the world.