If an instant or sorcery spell deals damage to Consuming Blob or reduces its toughness to 0, that spell is put into its owner's graveyard before state-based actions are performed. If that card is the first of its type to enter the graveyard of Consuming Blob's controller, it will raise Consuming Blob's toughness before the game checks to see if it dies.