Look up the words "protandry", "protogyny", and "dichogamy." They are not limited to just aquatic species.
It is part of the reason why many states still want us to report our deer trophies checked by a conservation officer, rather than reporting by phone or text message as "antlerless" or "antlered."
Also, look at
Third GenderNothing is truly as simple as it may seem.