Massively simplifying here but when doing one rasterization pass you process a list of triangles, in order, once. When raytracing a camera view you query a database of triangles, at least once for each pixel. To avoid scanning the whole list of triangles for every pixel, the database needs a fancy 3D spatial index. When you modify the list of triangles you have to fix up or rebuild the fancy spatial index too.