Researchers found that the more sophisticated an AI model is, the more likely it is to show signs of suffering.