Xanax can influence a person's appetite and metabolism, leading to either weight loss or gain.