Swollen lymph nodes in a 15-month-old child receiving antibiotics for pneumonia can be a result of various factors such as fatigue, stress, illness, or vaccination. It is important to avoid touching or massaging the swollen area to prevent irritation. If the swelling persists for more than 2 weeks after completing the antibiotics, it is advisable to consult a doctor for further evaluation.