The brick foundation supporting the basement allowed water in through the gaps between the bricks. The homeowner tried to cover the walls with cement and paint over bricks, but over time the water took off the cement and paint leaving the walls like this.