Stress can evince hermaphrodism in plants which are so prone.
If the cannabis that those seeds came from was grown outdoors, it is possible that it was fertilized by pollen from an actual male plant. However... Indoors - and largely now even outdoors - people tend to cull males. Therefore, that bud might have been pollinated by pollen from a "female" plant.
I have heard of people growing out those seeds, getting females, seeing "a few random seeds" in the resulting bud, growing out those, rinse/lather/repeat. Methinks that someone would eventually(?) end up with seeds that are more prone to hermaphrodism than not.
"Back in the day" (I think it was a Tuesday
), we'd grow out the seeds that came from sacks of various Mexican, Central/South American, and (a few lucky times) African bud
(*). The plants which resulted would be either female or male - and the plants that those seeds came from were, in all likelihood, open pollinated. Later, we were seeing a fair amount of sinsemilla that was grown indoors. Once in a while, there'd be a few seeds in a(n otherwise) sack of sinse. Say... five to ten seeds in a quarter pound. Those seeds most often produced female plants. They were probably produced from unintentional selfing (or from the odd male flower having been produced from another plant in the same grow room) due to either plant stress, strains/lines prone to hermaphrodism, or some combination of both. I would have used (and did so use) plants from the former for breeding purposes - but I would be less likely to use plants produced from the latter.
One
can produce seeds with just about any female plant (IMHO). But some seem to do it at the drop of a hat (or without even having to bother dropping one's hat, lol). Those plants do not make good breeding stock (again, IMHO). I think of the trait of hermaphrodism sort of like the one for schizophrenia in people... Often, schizophrenia "appears" due to a trigger event of some sort; but in some folks, the trigger (as far as it could be determined - which is not always wholly certain, of course) was not something that would "cause" schizophrenia in the majority of the (homo sapien) population. A geneticist might say that the person's genetic makeup caused them to be "prone to schizophrenia." (As an aside, I was in a relationship with a schizophrenic at one point. I later learned that one set of her great-great grandparents were first cousins - and one set of her great grandparents were also first cousins...)
If I was breeding plants, I would wish to only use plants which were the most difficult to "reverse." I would rather not end up spending a lot of time and effort to produce a strain that was otherwise wonderful... but tended to produce male flowers on the female plants.
I'm just rambling. I had a couple minutes between running hither and yon, but not enough to get anything done, lol.
(*)We also tried this with seeds from some Thai bud. The Thai we were getting at the time was pretty awesome, but it always seemed to be a little seedy instead of good sinse. The plants grown from those seeds "went hermie" more often than not. I later read - and then experienced - that this does not seem to be at all uncommon with Thai genetics.