For the simple response - they group all the searches from your location based on IP, and the results are weighted from that.
So if your town has a airshow on, all the DDG users that search for airshow near you will bump those responses up the weighting scale for all uses in your area. Regardless of you search for it.