Layer visibility tells whether you can see or change the layer or not. When you turn off the eye icon, the layer is invisible; thus, you can not modify the layer.