How did society evolve to consider some behaviors feminine and others masculine?

How come is women who put on makeup and wear dresses and a man is considered feminine (or metrosexual...) if he shows interest on his appearance? Or why are men the ones "supposed" to like sports and girls that rather play sports instead of doing "girly" things are considered tomboys?
3 answers 3