When a door is shut, a cat feels trapped. They have a strong sense of survival, and intelligence & cats like to have a variety of choices. Territorial expansion is critical.