Bu they aren't.
Social and cultural norms, advertising, pride, self esteem, distance and on and on influence people to choose the hair products over people's lives.
I'm not saying its wrong to want to keep your hair over saving people from malaria. But I am saying its wrong to think that "the market" is this perfect thing and "rational actors" actually exist.
The market is great, but it isn't right about everything, and people don't have enough information and are too easily influenced by everything else to be considered rational about anything.
At least if I was selling Rogaine, that's how I might spin it.
But it seems like we all do this sort of thing, at least part of the time. Baldness is an issue apparently directly affecting furyofantares' stepfather, on a daily basis. Malaria isn't. Should we expect him to keep malaria constantly on his mind whenever making economic decisions?