Do you genuinely not understand, or do you just disagree with such laws? People in favor of such laws generally does not consider such actions victimless. For example a historically rational reason to regulate or outlaw prostitution was to curb the spread of venereal diseases.