A dead tree was trimmed of its branches and painted yellow to resemble football goal posts.
If you look at the tree from the side view (click ahead a few scenes), you will notice that the vertical branches are in front of the main trunk of the tree, just like real football goal posts.