When you are in this situation, you should first find out whether your friends are upset because they have arrived in a new environment, have no new friends, miss their parents and so on, or because they have encountered personal difficulties. In the first case, you need to encourage her to be strong, make more friends and participate in school activities. In addition, calling her parents or former friends more and writing more letters will definitely help her. You can also call her, preferably write a letter. If you write to your friends with love and passion, I believe it will have great influence and help to your friends. If you have tried, but it doesn't work, then keep doing it. I believe that with the passage of time, your friends will adapt to the new environment, because people always have to grow up.
In the second case, you need to find out what kind of trouble she is in and then prescribe the right medicine. You can keep asking questions.
Personally, I feel that your friend should be the first case. I wish you happiness!