Because Spidey is key to the Civil war and what follows.
Without Spidey the civil war story arch won't be the same :
###### spoilers ########
Spidey starts off on the fence between tonys government cronies and captains freedom fighters, Stark convinces him so he joins him and is used as an example of tonys regime, but then he realises Tony Stark is douche after manipulating heroes and villains alike, and killing his own friends, so he switches sides and joins Cap.







