The water and air inside the soap are heated by it. The soap is foamy when the air expands inside it. There was no chemical reaction when the soap was put in the microwave because it was still brittle and flaky.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.