The dog feels safe and secure enough to sleep.