The reason is because you still have keys left. The game won’t end until either your heart is destroyed, or until you run out of keys (counting dead phobies).