People tend to forget that the Giza pyramids are located near a quarry and the Nile river. So the blocks were pretty much right there, just a couple miles or less. In the case of the Maya/Inca/Aztecs, they used wooden sleds/boats to move the blocks from their quarries to the building sites in many cases. In others, the quarries are located within walking distance. People also overlook the fact that these structures didn't get built overnight. One pyramid could take 20 or more years to build.
lol
Additional imponderables are the time and effort involved in quarrying that many stones and transporting them to the site, some from a quarry 8 miles (12.8 km) away across the river and others from a quarry more than five hundred miles (800 km) away
Building the Great Pyramid in 20 yearsthe commonly accepted time framewould have required placing 1.1 blocks in their final resting place every two minutes, over a work schedule of 365 days a year, if the block-laying were continuous for 10 hours per day.
rope and water