Can someone help me to identify some English synonyms/idioms meaning to "wonder so hard"? The word or phrase I'm looking for could be used in a situation where somebody tries to solve a very confusing riddle or is unable to manage what is going on.
I thought one example might be "breaking [somebody's] head open" (like in other languages: "den Kopf zerbrechen" or "rompersi la testa"), but I realized that the English meaning is literal in that case.