Endermen aren't evil, they just have ADHD! They pick up random blocks near them because they find them interesting, wander around aimlessly while fidgeting and then drop them again when they find a new shiny block somewhere else.
(They're also autistic and don't like being wet for sensory reasons, and they don't like eye contact)