There was an enemy who switched the blocks when shot. I accidentally shot them, and it made a wall between me and the enemy.
This way I couldn't shoot it again, but I needed that wall to disappear to continue.
Ohh, I see. That's a situation where you could reset the level, but I think that control isn't actually explained in-game. I've put a little more text on the game's page to point that out. Thank you so much!