This damage was from flooring heavily infested with termites. There were ants on the 2 x 6 wood beams which is another sign that termites could be present.
Payne Construction will replace the damaged wood but we can't kill the termites. You will have to hire termite or pest control professional.