Hi. Thanks for writing to us.
I'm so sorry about the present condition of your child and I wish her a quick recovery. I shall try to explain the possibilities, in this case, to the best of my knowledge.
Asthma is reversible airflow obstruction that is due to chronic inflammatory process. It is usually triggered by one or the other factors. Asthma usually affects two age groups. One that affects in the early childhood and the one that affects in the adolescence.
Asthma has a strong genetic and environmental component as its cause. It can be diagnosed with the help of symptoms, simple tests like spirometry and with physical examination. Your daughter, according to your description, might be suffering from attacks of asthma. I would recommend you to consult a physician to diagnose the condition and for further management.
Hope this helps.