Nope that's not a bug. It's a system with charged shots. On the left you could see your charge which slowly fills between your shots. Max charge is 7 damage. So, that is why sometimes enemy were killed immediately or took many bullets. Purple collectibles increase that max charge.
I just thought it would be more fun to make players figure things out.