This can be translated as a command. Alternate translation: "Tell me who shut up the sea ... of the womb" (See: [[rc://en/ta/man/translate/figs-rquestion]])
Yahweh compares the way that he prevented the sea from covering all of the earth to holding it back with doors. Alternate translation: "prevented the water from flooding over the land" (See: [[rc://en/ta/man/translate/figs-metaphor]])