text: Because it's there. Donut shops have a long tradition of giving donuts and coffee to police for free. This tradition has become practice because donut shops open so early in the morning they used to be targets for hold ups and other crime. Having the cops around deters that kind of thing. In the wee hours of the morning, the donut shops are often the only business open, the cops might as well be there as anywhere.