This is the Neskowin Ghost Forest, a grove of trees that was buried in sand around 2000 years ago.
Although many reports claim that these trees were buried in an earthquake, the best consensus is that they were buried by gradual dune encroachment. This often happens on coastlines.
This buried forest was uncovered in 1997-8 during a winter of El Niño storms and have been exposed ever since.