The houses of the villages belonged to and were necessary or very convenient for the management of the lands.
Related Commentaries of Leviticus 25:31
Leviticus 25:31
31 But the houses of the villages which have no wall round about them shall be counted as the fields of the country: they may be redeemed, and they shall go out in the jubile.