Combined Meaning: While a direct combination of “walk” and “bean” doesn't create the modern meaning, you can think of the “walk” radical (辶) as representing an action directed towards someone to provoke a reaction. The character's original, more classical meaning was “to stop” or “to linger,” which survives in the word
逗留 (dòuliú). However, its most common, everyday meaning has evolved to be about “playing with” or “amusing” someone.