Sounds like yes, they are flattered for exactly that. And it's totally ok.
There exists small joys in life, like being flattered for something that other people might not think are much of a big deal.
I guess that's one reason why something may be called flattering in the first place, if they didn't see it as being all that much in their own eyes, but somebody else appreciates it.