Wood Destroying Insect or Fungus

Good morning fellow inspectors,
I found this damage in a crawlspace in Southern Indiana. The light colored (damaged) spots are hard, almost as if fossilized. Does anyone know if this is some type of fungus or possibly insect damage from prior to being cut into lumber?

Thanks in advance

Looks like wood boring beetle damage.