Unfortunately it does not take any training, and in a lot of cases any qualifications, to buy and own a dog. I can easily see many dog owners just going along with what a flight attendant tells them regarding their dog – especially in today's climate where if you cross a member of airline staff, or if it is determined that you are causing a significant disturbance you can be in serious trouble.
This might come into play in this legal case: Is it Federal law that passengers must obey all instructions given by crew? I know when I used to ride the Washington State Ferries the announcement that was played over the P.A. at the beginning of every crossing included "Please follow all instructions given by the crew." It seemed to me that many of the crew let that go to their head.
Really, wasn't this bound to happen some day? When you carry animals in what looks a lot like luggage? Maybe it would be a good idea to have "LIVE ANIMAL" badges attached to it like they do with larger crates that go in the cargo hold.
I agree, though, it's pretty unlikely that the flight attendant did not know there was an animal in the bag. I guess it's possible though. Poor verbal communication, being in a hurry, angry flight attendant over perceived breaking of the rules by passenger? I assume the passenger had the dog carrier on her lap and the attendant came through and said bzzt, nope.
Did it not fit under the seat, I wonder?