Most plants are hermaphrodites. There is a general pattern for mobile creatures to be “dioecious” (with separate genders) and sessile creatures, such as plants and barnacles, to be hermaphroditic. This makes a sort of ecological sense. Given that pollen is lighter than seed, a flower that produces only seed can have only local offspring. One that also produces pollen can generate plants that spread far and wide.