When squirrels forage in open fields, they need to balance the risk of predation (a function of distance to cover) against the benefits associated with food.
A small cookie requires less handling time, so squirrels may consume these in the open.
When exposed to predation pressure, they may carry a larger cookie to cover and consume the food that requires longer handling time.