Here are some possibilities, but again, only a vet can diagnose the issue:
* Infection: This could be due to a bite wound, abscess, or other infection.
* Trauma: A possible fracture or injury could be causing swelling and pus.
* Congenital Issues: There could be an underlying health condition present at birth.
Do not attempt to treat the puppy yourself. Delaying professional help could worsen the condition and potentially endanger the puppy's life.