I think (and the developers can say if it is otherwise) because material properties come into play, like opacity and refraction, which require the actual render engine to calculate (while masks don't depend on anything from the light transport calculations).