what’s wrong with me????

im a mess lately im 15 years old and my life has honestly been going really good lately but i’ve just been feeling off. i have lost interest in a lot of things, i lost a lot of weight really fast, i have no appetite (i still eat because i don’t want to have any major problem with weight loss) could this be a cause of stress? should i go to a doctor? any tips?