Why did David strike Pelishtim?
'Rashi': After Hashem told him that he will not build the Beis ha'Mikdash, rather, his son will, David wanted to prepare everything for him. The Sefer tells how David fought with his enemies and was Makdish the spoils to build the Bayis. We find like this when Elisha asked Eliyahu for twice his Ru'ach. [After this] the Navi abandons discussing the kings, and lists Elisha's wonders, which were twice Eliyahu's, until it finishes them.
Malbim: After Hashem told him that he will not build the Beis ha'Mikdash since his enemies were not yet cut off, he saw that Hashem did not want to him to rest from war. He went to his enemies to make war in their lands. Until now, the Pelishtim came to his land, and he did not subdue them. Now he went to their land and subdued them, and took part of their land, i.e. Meseg ha'Amah.
Here it says "Gas u'Vnoseha." In Shmuel II, 8:1, it says "Meseg ha'Amah"!
Rashi (Shmuel II, 8:1): It is called Meseg ha'Amah because it is the staff that rules over all the Pelishtim, the capitol city of kings. We do not find the Sarnei Pelishtim in Ashdod, Azah, Ashkelon or Ekron called 'king', only in Gas - "Achish Melech Gas" (Shmuel I, 21:13). Meseg is the spike of the pole of the plowshare.
Targum Yonasan (Shmuel II, 8:1): Tikun Amsa. Radak - perhaps a stream passed through the city; they fixed it to come from another city to this city. Therefore the city was called Meseg ha'Amah.
Radak (Shmuel II, 8:1): Gas and its suburbs were called Meseg ha'Amah.
Malbim: Ezra revealed that the city was called Gas. A Midrash explains the name. Pirkei d'R. Eliezer 36, cited in Radak Shmuel II, 8:1 - when Avimelech came to Yitzchak to make a Bris, he said 'I know that Hashem will give to you and your seed all of these lands. Make a Bris that you and your seed will not take Eretz Pelishtim. Yitzchak cut one Amah of the bridle of the donkey he was riding on, and gave it to them as a sign of the Bris Shevu'ah. When David became king, he wanted to go to [conquer] Eretz Pelishtim; he could not, due to this Os Bris, until he took the Os Bris. After, he took Eretz Pelishtim.


