The first reason is that the hot coals are poor conductors of heat. The second reason is that the heat that ordinarily would burn you will instead first change the phase of the water on your feet. The water becomes a vapor, which furthermore provides a short-lived insulating layer between your feet and the coals.
Work Step by Step
This is discussed on page 331.