Because the carboxylic acid would protonate the Grignard reagent, destroying it. Once deprotonated, the carboxylate is a poorer electrophile. Grignard reagents are generally ineffective in adding to them.