This can be translated as a statement. Alternate translation: "Tell me who shut up the sea with doors ... and thick darkness its swaddling bands." (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]])