Op
Need clearer picture
But appears to be pitting and could be corrosion.
Pitting is contact stress, and lubrication could have failed, or the surface of tooth profiles are not harden correctly.
Contact the gear box manufacture get them involved. The documentation of manufacturing , material and heat treat certifications need evaluation. Must not run this gear box, or catastrophic failure will occur.