Thank you for playing the game! It was intended to be a bit confusing because of the simplicity of the game. Believe it or not, this game helped me understand how health system works, since can't find a tutorial on youtube which really works.
This was the roadblock I encountered in the past, along with another one, which even after 2 weeks of trying I couldn't make it work, but now I did.