Why was it a mistake for General Cornwallis to camp his army at Yorktown?

Yorktown was too far away from other British forces to be effectively resupplied.

Yorktown was on a peninsula and hard to resupply.

Yorktown was on a peninsula and could be surrounded.
the answer is C