An anxious dog feels more secure when they have lots of boundaries in place. Barney has to wait to be released from his crate before he comes out.