Synthesis of a weinreb amide from an acid
Your question is easily answered by the fact that the conditions of Me3COCl + starting acid give a mixed anhydride not an ester. The tButyl group is chosen as the hindrance it brings makes reaction at the desired C=O carbon more likely. Further reading about mixed anhydride coupling is here