Campsites often have pole with an elevated hook near its top on which to hang your food so it is out of reach of bears. Dollars to donuts, at the campground registration kiosk are instructions to hang your food from the hook or leave it the trunk of a car. Having a cooler on the ground doesn't cut it and indeed is an invitation to bears. Hence, the ticket.
Makes sense to me.