Why do squirrels dig in the garden and flowerbeds?
Squirrels hide their extra nuts in the soil, under logs, and under leaves in “caches”. Then they hunt for them when they get hungry … so as they smell good food buried in nice soft soil in a garden, they just naturally dig there. You can prevent some of this digging in special places by covering areas with hardware cloth, a heavy metal screen with half inch grids. This can even be used in flower pots.