The media actually plays a big role in how people think. Since the media could present whiter skin being “more beautiful” and “elegant,” the audience tends to keep that idea in mind.
Discrimination could also play a role in the reason why people want to have lighter colored skin. But then again, whatever reasons people may have, they still wind up trying the same whitening pills to get the skin color that they want.