Hello, I am trying to understand Anxiety more so that I can be more helpful to my teenage step daughter.

She has been doing Independent Studies since Covid Hit, she did Attend almost her entire freshman year of high school and then Covid hit and she went to Distance learning and then to Independent Studies.

She wanted to start a new High School this year (now her junior year) She didn't know anybody except 1 or 2 people.

She went the first day even though she said she was extremely anxious, came home off the bus and said it wasnt that bad, and she had made a few friends.
This went on for a few days, and she would come home excited that shes making a bunch of new friends and that she likes her classes/teachers.

Then she started throwing up every morning she had to go to school.
The bus leaves at 7:00am so she had to get up around 5:30 or 6am to get ready for school.
She would throw up between 5:30am - 7am, and I wouldn't send her to school. She was absent almost 10 days into the school year,
She wouldn't throw up on the weekends, only when she had school.
She would stop throwing up at 7:00am. (Kinda like once she knew she wasn't going to school) 

She told me that she WANTS to go to school, and that she didnt have anxiety about it anymore. She was looking forward to seeing her friends and going to her classes etc, and just being in regular high school again.
So my question is... Even tho she said she wasn't having anxiety about it, was it anxiety anyways?
It seems to me that she wanted to go to school but her body just wasn't letting her, or her anxiety wasnt letting her even though she wanted to go.

We ended up having to pull her out of school and put her back on Independent Studies, and she hasn't been throwing up since.

She said she wants to go back to the high school next symester, but I really dont know if her body is going to let her... You know?

Any advice would be appreciated 💜