Possible meanings are 1) Solomon is asking for an answer or 2) AT: "You have done wrong by breaking your oath ... you." (See: [[rc://en/ta/man/translate/figs-rquestion]])
Here the head represents the person, and wickedness is spoken of as if it were a solid or liquid that could be put on a person's head. AT: "will hold you responsible for all your wickedness" (See: [[rc://en/ta/man/translate/figs-synecdoche]])