They flooded the area the Pyramids were being built
I don’t think that’s “the current theory”.
I think you might be talking about digging canals. It’s conceivable that a canal would be built to take the rocks to the construction site. Just recently however we’ve found evidence of a tributary of the nile that flowed past the sites of a number of pyramids.