Why does my enemy die when he moves into a wall?

I was able to make my enemy move easily, however when he runs into a wall the game starts over.

He has his collision set to any, click it and set the top option to the enemy