Mabye his shell is a defanse mecanism. It reacts when it is touched, helping to protect the weaker inside.