Think there's a variety of reasons; battery life, forcing yourself into a more deliberate audio experience than Spotify, physical buttons, Apple making putting music on iPhones a chore...
I never actually moved past mp3 players though; my current one does everything I need so well for so long (~22 hour battery life) at such an insanely light weight (20g) that it's lasted 15 years so far (on its second battery now, mind)