Pun. The concrete wall in the distance that caused the flooding is a dam. The people say 'it was this damn thing' as if they are upset about it enough to say 'damn' but  it's literally 'this dam, thing'.
Some people , asked what they thought had caused the recent flooding in our valley , pointed to a concrete wall in the distance and said it was this damn thing .