Salam
There is a problem in making something illegal without cultural foundation. We saw this with prohibition of alcohol and we see this with prohibition of drugs. It happens anyways if people don't realize why it's wrong.
The way I understand, is humans are sacred and require honor. Honor is required in everything we deal with and it's part of our interaction in all our relationships whether friendship or family, etc, it's why people choose to be trustworthy and not lie, but if the foundations of honor go away from humans, they lie, deceive, and this results in chaos, war and prostitution becomes rampant in a culture where honor is not high in people and this results in human trafficking, etc, and we can't even stop human trafficking in this century because the honor in society is not high but at low disgraceful state and where people are apathetic to it.
God gave us sexual parts and gave us sense of shame over them, and so how we go about this, we should do it honorably, and sacrifice as little as possible of our honor when going about to fulfill our sexual desires. God out of his wisdom, so we don't throw away our honor, has commanded to marriage and in some cases allows another form where oaths give us sexual authority and that is Muta, but god wants children raised honorably as well and Muta is a last resort for certain people only. He has warned society not to let their desires rule them, or they will lose their sense of honor and wisdom, and will live a life where they ignore their duty towards God and his chosen ones, and justice to other human beings.
Honor is highly important, without it, evil rulers deceive us, falsehood gains equality to truth, deception as much as guidance, and good and evil equated. It's by honor that people can cleanse themselves from Satanic control, and it's by honor we can ascend to God through faith in him.