Answer
The public hangman burned Alasdair mac Mhaighstir Alasdair's second book publicly as a form of punishment for the author's criticism of the government and the established church in Scotland during the 1600s. The burning served as a warning to others who dared to challenge the authorities and express dissenting views, reflecting the strict control and censorship imposed by the government at the time.