Why must the limiting reactant be used to determine the theoretical yield?

Because the limiting reagent is the one that is completely used. The other reagent, called the excess reagent, is not completely used; using the excess reagent produces MORE product than possible so the theoretical yield based on the excess reagent will be too large.