John went to the store to buy apples, which he needed to make an apple pie for his family. Therefore, the correct answer is option B: To buy apples. This directly addresses the reason for his store visit.
;
John went to the store for a specific purpose: to buy apples. This is clear from the context of the narrative, where it is mentioned that he intended to make an apple pie for his family. Since apples are a key ingredient in apple pies, John's visit to the store was driven by his need to purchase this particular fruit. However, upon arriving at the store, he discovered there were no apples available, which led to his disappointment.
Therefore, the correct answer to the question "Why did John go to the store?" is Option (B) To buy apples.
John's ultimate goal was to make an apple pie, hence the reason for buying apples was directly linked to this plan. However, the immediate and direct answer to why he went to the store is specifically for purchasing apples.