The Surah At-Taubah or Al-Tawba (repentance), which the passages you quote come from, were a result of the Quraish tribe breaking it's treaty (treaty of Hudaibiyah) and engaging in combat with Mohammed and his followers. Ironically, Mohammed himself was originally a member of the Quraish tribe, and they became his major opponent after he broke away from them.
PS: Apologies to the rest of you for not properly implementing my 'filter'
Cheers, Brad
To be old and wise, you must first be young and stupid.