Primarily coincidence (round towers take the least amount of material to get you to the same height of any building), but there are easy examples to find of structure specifically designed to represent a phallus. Hindu temples, for instance, are specifically built after the shape of a yoni-lingam which represent male and female genitalia (among other thing, this pic makes the metaphor obvious). This is mimicked in the design of some of their temples