The argument against it is that if the whole world did it then there would be a huge imbalance of boys. This would lead to all sorts of problems in society.
So the easiest solution is to ban sex selection except for genetic conditions.
Otherwise you ban just Muslims or certain cultures.
Also depending on how you sex Select the procedures can lead too risks of a less healthy fetus or child.