Sentience is just the capacity to feel, so sentience enters morality because we generally think its not very nice to cause others pain in other words for a creature that can feel, to cause it to feel things which are unpleasant, such as pain or whatever, is not a nice thing to do.