There are only ten. Marriage as one man, one woman is implied in the commands about not coveting your neighbors wife (Exodus 20:17) and not committing adultery. There is no commandment against rape, bestiality or child molesting either you know. Surely you do not question if God hates those things.
Genesis 1:29-30 for instance, could be construed to mean that God has commanded humans to be vegetarians.