Some Shrimp are Aggressive
I also have personally seen ghost shrimp (cheap feeder kind) attack my betta. Not at all what I was expecting when I tried introducing them.... Thought it would go the other way... I thought he was getting fin rot, until I saw him swimming all over with a shrimp on him. Removed the shrimp and he's looking better than new.