This was a little fun to play but I don't know if this was a feature, but when the rock at the bottom of the screen even crosses the y axis of the player you lose health. you don't even have to physically touch it.
That is infact a bug, it shouldn't happen though, thanks for the feedback though!!