This is a huge driftwood log that washed up on Playa Langosta near our condo. The ocean surge that I showed yesterday carried with it what had at one time been a large tree trunk that had been floating in the ocean. The ocean receded and left this large log on the beach as a souvenir, only to be washed away again.
Don't worry about the loss of tree. Costa Rica planed 7 million new trees last year as part of its reforestation efforts to combat global warming and become the world's first carbon-neutral nation, a goal for 2021.