Answer
Please see the work below.
Work Step by Step
We know that the shell of hard boiled egg crack because of rapid thermal expansion of the shells or the expansion of the air bubble trapped inside the bubble. Although the shell has pores in it, if the expansion of the air bubble is rapid, the shell will crack.