Both
That depends, the official stance from the government that funded it at the time was definitely political as they were trying to keep western fascists out of east Germany. This however, developed a major social barrier as well, rather than solely the initially anticipated political one. People were divided for nearly 30 yEARS! As I said, the face of the wall was political, however, it having been built overnight robbed many of their families, friends, and homes, being a social issue. However, once again being political, Germany resorted into turning into two seperate countries basically, The Federal Republic of Germany (West Germany), run by the Allies, and the German Democratic Republic (East Germany), run by the Soviet Union. So, thus, it was both political and social. If you want more information I linked some useful articles below:
https://www.independent.co.uk/life-style/history/berlin-wall-what-you-need-to-know-about-the-barrier-that-divided-east-and-west-9847347.html
https://www.history.com/topics/cold-war/berlin-wall
It's for a project
Was the Berlin wall a political or social issue or both