The squash is, as bucky noted, there for the sweetness it adds to the sauce and it also helps balance the pH of the sauce so it isn't far too acidic, making it difficult to balance on the plate.
The squash was a revelation of mine (not authentic, to my knowledge) about a year ago as I was...