She might be having some soft tissue injury
that causes pain and discomfort.
Try to give her pain killers like Ibuprofen
according to her weight. Dose is 7.5 mg/ kg/ dose, repeated every 8 hrs.
If pain persists/ has difficulty in moving the neck, you may see your doctors again.
Wish your little one a speedy recovery.