Kate Bradbury says
Birds such as tits and woodpeckers readily prey on bug boxes in winter, as they have learned to rely on them for an easy source of food. To prevent such attacks, move your bug box undercover. Ideally it needs to be cold and dry, so an unheated shed or greenhouse is ideal. Don’t forget to pop it back outside in spring.