Foods get exploded in the microwave when the water of the food is heated rapidly, and thereby it produces steam. When the steam can’t get out of the microwave, it causes an explosion.