Often, lugs are used to make it easier to tune the ride quality for each size of bike offered. For instance, larger diameter tubes on larger bikes. It also allows custom frame makers to tune specific attributes out of a given frame.
Lastly, smaller shops might prefer lugs rather than making different monocoque molds for each size, but that one is purely speculation on my part.