People can't have relations such as in prostitution outside a marriage.

Marriage is supposed to create a responsible sense for the parents so that they can take care of the child. With prostitution, their is a huge risk that a child might come into play and the women and man don't have enough solid commitment towards each other in order to take care of the child. Why create all of these issues?