The classical reasoning is permanent attachment (ittisal al-qarar): foundations, fixed walls and permanent rooms are intended to remain as the house’s structure. They are therefore appurtenant to the house in the sale.
A movable table or chair merely situated inside the building is not thereby a permanent part of the house. Its presence alone does not normally include it in the house sale.
The distinction is between an integral fixture and a separately movable object.