IIRC, most airports are designed so that the primary runway (or runways, if multiple) align with the prevailing wind direction, if there is one. So, for example, at LAX, where winds generally come off the ocean, the runways are headed west.
The flip side of that is JFK, where there is no single prevailing wind direction, and thus JFK has 2 pairs of runways, so they can run ops in pretty much any direction.