About Lost Void?

Hi hi. Enjoying lost void for speed reasons. But I don't have a question while I work on the story stuff after chapter 5. What's the purpose of losing health when you attack the enemy? Was it picking up gear that causes it? Even at the start with the training dummy I would lose health by just attacking it.