It is no secret that Petraeus and Obama didn't like each other. Theirs was a relationship of mutual convenience. So I'm sure that the media is almost giddy in their smear campaign against Petraeus.
Petraeus was brought in to give bonafides to moderate voters and even to Colin Powell Republicans. Now that the election is over, his services are no longer needed.