Why do a basket and a stable receive different treatment?

Kitab al-Iqrar: Houses, Buildings, and Containers