I'm not sure if this is by design, but it seems that bills are checking the nearest available material by linear distance, and not by pathing distance. In the screenshot below, the colonists were taking stone chunks from left of the wall, even though the ones on the right are clearly closer, even within the same region as the table.
