The sound you hear is the sound of what is actually a mini-explosion that results in the wood rupturing. Typically, logs have a somewhat less than uniform structure. As well as having many microscopic pockets within, there are likely to be a series of knots and voids.