From the TSA website:
"Water for babies is allowed in reasonable quantities in carry-on bags. Remove this item from your carry-on bag to be screened separately from the rest of your belongings. Please see traveling with children for more information."
https://www.tsa.gov/travel/security-...s/water-babies
So a misinformed agent. Shocker.