Crocodile just doesn't want the marines to win. Same reason why he stopped Ace's execution. I'm not really sure why he suddenly became so angered at the marines, though. Maybe because they were playing dirty by trying to get spider monkey guy to kill Whitebeard?