Not only will squirrels eat eggs, they'll eat baby birds. Not that many squirrels would want to tackle chicken eggs or chicks or take a chance on entering a coop. But they are omnivores & take advantage of high protein, high energy foods especially when they themselves have nestlings.
Fox...