By observing their actual behaviour. It's notoriously different from what people claim their behaviour is.
If everybody says they want foo and don’t want bar, but when you make foo they don’t buy any but will buy a lot of bar, then are you “failing to provide what people want” if you just make bar?