This is like asking why software project estimation can't just be done by looking at the size of the project to be built.
(And besides that, although software estimation is notoriously inaccurate, it is still done and written into contracts all the time, because it serves a useful purpose that outweighs its inaccuracy)