At nighttime, when puppies are sleeping, their metabolism slows down considerably, leading to a lowered production of urine ...
When you first crating your puppy they are not be used to being in there by themselves, so they may whine and bark for a little ... in teaching her not to go potty in the crate.