Because HARMs are expensive and ZSU-23-4s are a low priority target. Pilots were usually forbidden to waste them on Shilkas.