FYI they are very fucking small nowhere near as big as in this image. en.wikipedia.org/wiki/Fig_wasp

Forcing her way through the ostiole, the mated mature female often loses her wings and most of her antennae. To facilitate her passage through the ostiole, the underside of the female’s head is covered with short spines that provide purchase on the walls of the ostiole.

In depositing her eggs, the female also deposits pollen she picked up from her original host fig. This pollinates some of the female flowers on the inside surface of the fig and allows them to mature. After the female wasp lays her eggs and follows through with pollination, she dies.[15]

After pollination, there are several species of non-pollinating wasps that deposit their eggs before the figs harden. These wasps act as parasites to either the fig or possibly the pollinating wasps.

As the fig develops, the wasp eggs hatch and develop into larvae. After going through the pupal stage, the mature male’s first act is to mate with a female - before the female hatches. Consequently, the female will emerge pregnant. The males of many species lack wings and cannot survive outside the fig for a sustained period of time. After mating, a male wasp begins to dig out of the fig, creating a tunnel through which the females escape.[16]

Once out of the fig, the male wasps quickly die. The females find their way out, picking up pollen as they do. They then fly to another tree of the same species, where they deposit their eggs and allow the cycle to begin again.

Fig wasp - Wikipedia

Nature is so fucking WEEEEIRD
Actually it’s not. This is 100% human fault. Fig trees and fig wasps from the same (natural) area do not have this problem. When (I believe California?) imported a ton of trees and wasps to cultivate giant fig farms, they just didn’t care that the wasps they got would die during pollination. It was a known issue, that just got ignored. Completely preventable.

What problem do you mean?

The blastophaga psenes wasps in Turkey die during pollination just like the blastophaga psenes wasps in California do.

Here is more information about how figs (and fig wasps) came to be cultivated in the US.

The Fig Mystery: Nurseryman's Secret

Come along on a fascinating journey through California's fig cultivation history—a tale filled with mystery and intrigue! Discover more now.