Probably mastitis. It is an infection from the mother (much the same as when humans get it) and should be caught early to avoid problems with the puppies and possible death of the mother. The teats can actually explode from the pressure and infection.
Sorry about your loss.