What books or other study material available for learning destruction physics of 2d terrains like Where's my water and sand balls ?

Can you please guide me what to read and learn for 2d terrain destruction.Please tell me some books or other form of study material which cover it in detail. I searched internet but i found no article which cover it completely . So just guide me.
And @Eric5h5 if you know something about this please let me know.

You should check out marching square, for this content, videos available on Sebastian league YouTube channel. Feel free to ping me if you have more doubts on this. I have developed a game based on this