Maybe one of the two that flowered was a male. Or, maybe one of them has either a small number of perfect flowers or male flowers. There was another thread recently talking about a dioecious fruiting species (Garcinia livingstonei, Imbe) that will sometimes not act strictly dioecious in its flowering and fruiting.
I just hope my two Texas persimmons are not the same sex.