I don't believ the IDF thought of it much when he did it. He just reached for the first random piece of garbage to put between him and the grenade, and the hamasshole was the first thing to hand.
But that is one terrorist who got run over by his own Karma.