Something tells me the TSA thinks that baby food is a liquid and you can only bring on that which is needed for the flight (Yes, your TSA agent gets to determine what is "needed")
I may be wrong, but it's a gray area and a LOT could depend on the mood of your TSA screener. (Consistency is not thier hallmark!)