The swelling and shrinking of newborn testicles with temperature changes may be a normal phenomenon, but it could also be a sign of testicular inflammation or developmental abnormalities. It is important to take the child to a doctor for timely medical examination.