How does the sentence end?

He was able to make cookies, but couldn't make pies, because the
Choose from:
-pies required ingredients he didn't have.;
-cookies required ingredients he didn't have.;
pies required ingredients he didn't have.