When you first look at this situation it appears to be a deck problem, but in reality it starts way below. This deck was built on the ground without using footings. As the ground freezes and thaws it moves up and down and without proper footings everything on it moves up and down. This post was pushed through the deck flooring because it wasn’t properly constructed. Your home inspection will include a review how any deck was built so you are aware of any potential problems.