Yes, a mother dog can reject her litter and turn on her puppies.
This may happen because she feels unwell herself, or because a puppy seems too weak to be worthy of her care, or simply because of a lack of maternal instinct.
Such behavior may appear from the moment she has given birth, or a few days or weeks later.