Am I overreacting?

Sooo this has really been bothering me. Yesterday, I was at the grocery store and (naturally) I was approached by several people. I’m out in public with a one week old and people love babies. Anyway, this man (had to be over 60) asked me how she (meaning my daughter) was doing with the formula shortage. I told him she’s not on formula and then he proceeded to praise me for doing what was best for her. About 5 hours later, it clicked and I started to feel uncomfortable. I feel like I was tricked into saying I BF, for one. First of all, not your business. What if I did feed her formula? You don’t know if it’s by preference or a need. That hit me pretty hard because my I struggled to produce enough with my first 4. Now, the whole thing feels like a creepy backhanded compliment.