I’ve seen the same be behavior in the context of [Bug] Heartlings stuck on battlements-style roofs.
There they will drop the items on the roof, after getting stuck there.
Generally I agree here; Hearthlings are way too quick to abandon a job, and leave materials cluttering the landscape, especiallly once the town becomes large or includes far-out parts (e.g. mines in the mountains).