Bit of a thread hijack but kind of relevant.
This was among a delivery from Lavers a couple of weeks ago, some redwood 5ths (not treated), I don't normally use 5ths but it was only for some trestles and I didn't expect it would be this bad
I just wondered how long it takes for the blue stain to develop, are we talking a few weeks? Has the wood as I suggested maybe got wet through a tear in the cover sheet and never really dried out? It was only that centre section that was wet, the ends were fine.
It looks like sap stain, but I could be wrong, it being hard to see exactly what you've got there in the photograph. Assuming I'm right, sap stain is visually unattractive but insignificant in terms of strength loss. Sap staining fungi, there are several, don't have the chemical armoury to break down cellulose and other strength providing structures in the timber, and have a strong preference for gymnosperms (softwoods). They live on sugars readily available in the wood's parenchyma so mostly restrict themselves to colonising sapwood, hence the name.
As to how long it takes for the stain to develop I really can't say with any certainty, but I suggest that an abundance of water (nearly 30% in your image, I think, so plenty I'd say) as well as substantial available sugars, plus warmth might lead to blue staining showing up in just a few days. Less water, warmth and sugars would delay blue staining progression but by how much is a bit of a guessing game. So, I suspect your guess about the wood getting wet, possibly rained on, after processing (boarding up, kilning, stacking, storage, transport, etc) is the cause in your case. Get the wood dry again, 20% MC, or below being an oft quoted number, and the fungal activity ceases, although the 20% figure relates primarily to dry rot which has the ability to thrive at lower moisture content than many other species of fungi.
Hope all the above helps, and just don't use the now presumably dried but discoloured piece(s) of wood where they're on show if you don't like the appearance, or if it is on show, er, well, paint it. Slainte.