A resident who was previously social now stays in their room and refuses meals.This change most likely indicates: