Temporary torticollis This temporary problem sometimes occurs when your child's lymph nodes are warm and swollen (inflamed) after an ear infection or a cold. Torticollis can also develop when your child hurts his head or neck. The joints between the neck bones swell and become painful.