Why do men have nipples?
I believe it is for this reason: the female body plan is the default one. Males are a variation upon that, in humans at least. Nipples are part of the basic body plan. For a man to not have them, he would need to actively evolve something that would prevent nipples from developing. There is no selective pressure for the development of such a thing, so it hasn't happened. Keep in mind that the code for the general body plan is shared between males and females. The Y chromosome modifies the development of that body plan so the person becomes male.