Because Sony misread the handheld market pretty badly. Eventually they did get smart, at least in Japan. They thought everybody wanted a mini PS2.
Western gamers wanted stuff like Nintendogs and Pokemon, not stuff like portable Uncharted or portable God of War. Japanese gamers just wanted more RPGs.