Wrestling or struggling with someone physically, or trying hard to deal with a difficult problem or idea.
From Old French 'grapil' (hook), originally meant using a hook to grab something; evolved to mean any close physical struggle, then metaphorically struggling with ideas.
The wrestling move and wrestling with a difficult concept use the same word because both require you to get close, grab hold, and refuse to let go until something changes!
Complete word intelligence in one call. Free tier — 50 lookups/day.