My daughter woke up with her eyes crusted shut and now it’s red and the eyelid is swollen. She says it hurts and itches?

Conjunctivitis. Given the fact eye infection associated with upper respiratory infection, viral conjunctivitis is suspected. However, since ear infection is also found not infrequently in this circumstance, I would recommend her be checked by her primary care provider.